aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
commitfda2e985daa21bcac7cf4e4882e560933d7ad5e8 (patch)
tree4ccb4a868e97ff347416395233e3825776b24951 /emulators
parentd0cdca8bc326260560504ebb5d4b206942ca5125 (diff)
downloadports-fda2e985daa21bcac7cf4e4882e560933d7ad5e8.tar.gz
ports-fda2e985daa21bcac7cf4e4882e560933d7ad5e8.zip
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/basiliskII/Makefile16
-rw-r--r--emulators/xsystem35/Makefile19
2 files changed, 11 insertions, 24 deletions
diff --git a/emulators/basiliskII/Makefile b/emulators/basiliskII/Makefile
index bf14b20c9e83..dbeba21c14bf 100644
--- a/emulators/basiliskII/Makefile
+++ b/emulators/basiliskII/Makefile
@@ -14,25 +14,17 @@ DISTNAME= BasiliskII_src_30012000
MAINTAINER= sobomax@FreeBSD.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
- esd.2:${PORTSDIR}/audio/esound \
- lthread.2:${PORTSDIR}/devel/linuxthreads
+LIB_DEPENDS= lthread.2:${PORTSDIR}/devel/linuxthreads
WRKSRC= ${WRKDIR}/BasiliskII-0.8/src/Unix
USE_X_PREFIX= yes
+USE_GTK= yes
+USE_ESOUND= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-ESD_CONFIG?= ${LOCALBASE}/bin/esd-config
-
CONFIGURE_ARGS= --disable-fbdev-dga
-CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
- GLIB_CONFIG="${GLIB_CONFIG}" \
- ESD_CONFIG="${ESD_CONFIG}" \
- LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CFLAGS+= -D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
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