aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/xsystem35
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/xsystem35')
-rw-r--r--emulators/xsystem35/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/emulators/xsystem35/Makefile b/emulators/xsystem35/Makefile
index 82ffb38784cc..e1cb56e2c2af 100644
--- a/emulators/xsystem35/Makefile
+++ b/emulators/xsystem35/Makefile
@@ -13,14 +13,12 @@ DISTNAME= ${PORTNAME}-1.2.5-1
MAINTAINER= k5@cheerful.com
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+USE_IMAKE= yes
+USE_GTK= yes
+WANT_ESOUND= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
-USE_IMAKE= YES
-MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}"
PKGMESSAGE= ${WRKSRC}/MESSAGE
DOC_FILES= BUGS ChangeLog FAQ GRFMT.TXT INSTALL MISCGAME.TXT README \
@@ -35,12 +33,9 @@ EXAMPLES= README.TXT ambi.inf atlach.inf dalk.inf darcrows.inf \
.include <bsd.port.pre.mk>
-.if defined(WITH_ESOUND)
-LIB_DEPENDS+= esd.2:${PORTSDIR}/audio/esound
-.endif
-
+.if defined(HAVE_ESOUND)
+USE_ESOUND= yes
pre-configure:
-.if defined(WITH_ESOUND)
${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.orig
${SED} -e 43,43d -e 45,45d ${WRKSRC}/config.h.orig > ${WRKSRC}/config.h
.endif
@@ -50,11 +45,11 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/../contrib/instgame ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/ja/xsystem35
- @(cd ${WRKSRC}/../doc;\
+ (cd ${WRKSRC}/../doc;\
${INSTALL_MAN} ${DOC_FILES} ${PREFIX}/share/doc/ja/xsystem35)
.endif
@${MKDIR} ${PREFIX}/share/examples/xsystem35
- @${INSTALL_DATA} ${WRKSRC}/xsys35rc.sample ${PREFIX}/share/examples/xsystem35
+ ${INSTALL_DATA} ${WRKSRC}/xsys35rc.sample ${PREFIX}/share/examples/xsystem35
@(cd ${WRKSRC}/../contrib; \
${INSTALL_DATA} ${EXAMPLES} ${PREFIX}/share/examples/xsystem35)
@${SED} -e s,PREFIX,${PREFIX}, ${PKGDIR}/MESSAGE > ${WRKSRC}/MESSAGE