diff options
author | Steve Price <steve@FreeBSD.org> | 2000-07-07 19:59:26 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-07-07 19:59:26 +0000 |
commit | 89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df (patch) | |
tree | dab293772a4c12d5e7f6c0f30c1e8ae09e1cfe4d /emulators/xsystem35/Makefile | |
parent | 65b63032bfb3a3f1c8ac4ee660ac83927b43c92a (diff) | |
download | ports-89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df.tar.gz ports-89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df.zip |
- Use GTK_CONFIG/GLIB_CONFIG instead of hardcoded gtk12-config/glib12-config
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly
PR: 19623
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=30342
Diffstat (limited to 'emulators/xsystem35/Makefile')
-rw-r--r-- | emulators/xsystem35/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/emulators/xsystem35/Makefile b/emulators/xsystem35/Makefile index 0150cab6d03a..82ffb38784cc 100644 --- a/emulators/xsystem35/Makefile +++ b/emulators/xsystem35/Makefile @@ -9,14 +9,18 @@ PORTNAME= xsystem35 PORTVERSION= 1.2.5.1 CATEGORIES= emulators MASTER_SITES= http://www.aist-nara.ac.jp/~masaki-c/private/unitbase/xsys35/down/ -DISTNAME= xsystem35-1.2.5-1 +DISTNAME= ${PORTNAME}-1.2.5-1 MAINTAINER= k5@cheerful.com LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 -USE_IMAKE= YES +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config + 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 \ @@ -42,20 +46,18 @@ pre-configure: .endif do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/xsystem35 ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKSRC}/../contrib/instgame ${PREFIX}/bin - -post-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xsystem35 ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/../contrib/instgame ${PREFIX}/bin .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/ja/xsystem35 @(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 @(cd ${WRKSRC}/../contrib; \ ${INSTALL_DATA} ${EXAMPLES} ${PREFIX}/share/examples/xsystem35) @${SED} -e s,PREFIX,${PREFIX}, ${PKGDIR}/MESSAGE > ${WRKSRC}/MESSAGE @${CAT} ${WRKSRC}/MESSAGE -.endif .include <bsd.port.post.mk> |