blob: 6fc429090d53c49c595b968298f07b2e724468bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# New ports collection makefile for: dboxfe
# Date created: 2007-12-08
# Whom: Max Brazhnikov <makc@issp.ac.ru>
#
# $FreeBSD$
#
PORTNAME= dboxfe
PORTVERSION= 0.1.3
PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR=${PORTNAME}
MAINTAINER= makc@FreeBSD.org
COMMENT= A Qt4 front-end to DOSBox
RUN_DEPENDS= dosbox:${PORTSDIR}/emulators/dosbox
USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= gui network xml uic_build moc_build qmake_build rcc_build
HAS_CONFIGURE= yes
PLIST_FILES= bin/dboxfe bin/dboxfetray
.include <bsd.port.pre.mk>
PRO_DIRS= . dboxfetray
do-configure:
.for dir in ${PRO_DIRS}
@(cd ${WRKSRC}/${dir} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE})
.endfor
post-configure:
.for dir in ${PRO_DIRS}
@${REINPLACE_CMD} -e \
's|^CC .*|CC=${CC}|; \
s|^CXX .*|CXX=${CXX}|; \
s|^LINK .*|LINK=${CXX}|' \
${WRKSRC}/${dir}/Makefile
.endfor
do-build:
.for dir in ${PRO_DIRS}
@(cd ${WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${MAKE})
.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/dboxfe ${PREFIX}/bin/dboxfe
${INSTALL_PROGRAM} ${WRKSRC}/bin/dboxfetray ${PREFIX}/bin/dboxfetray
.include <bsd.port.post.mk>
|