diff options
author | ijliao <ijliao@FreeBSD.org> | 2005-10-27 11:18:07 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2005-10-27 11:18:07 +0800 |
commit | ca1fcd47a0ca199fb342584fdab0af39b8cc1b64 (patch) | |
tree | 62dded2d22eb49e917ab710039a9224584a8dde0 /emulators | |
parent | 64e32eaaa57e1cdf831c969119793da7acacfb72 (diff) | |
download | freebsd-ports-gnome-ca1fcd47a0ca199fb342584fdab0af39b8cc1b64.tar.gz freebsd-ports-gnome-ca1fcd47a0ca199fb342584fdab0af39b8cc1b64.tar.zst freebsd-ports-gnome-ca1fcd47a0ca199fb342584fdab0af39b8cc1b64.zip |
respect $PREFIX
depend on latest autoconf
utilize PLIST_FILES and PORTDOCS
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/gnuboy/Makefile | 15 | ||||
-rw-r--r-- | emulators/gnuboy/pkg-plist | 12 |
2 files changed, 12 insertions, 15 deletions
diff --git a/emulators/gnuboy/Makefile b/emulators/gnuboy/Makefile index 505801c04207..8eef9a5263c4 100644 --- a/emulators/gnuboy/Makefile +++ b/emulators/gnuboy/Makefile @@ -8,7 +8,7 @@ PORTNAME= gnuboy PORTVERSION= 1.0.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators games MASTER_SITES= http://gnuboy.unix-fu.org/src/ \ http://brightrain.aerifal.cx/~laguna/src/ @@ -21,17 +21,26 @@ LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib USE_SDL= sdl USE_REINPLACE= yes USE_XLIB= yes -USE_AUTOCONF_VER= 213 +USE_AUTOCONF_VER= 259 GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" CONFIGURE_ARGS= --with-sdl +.if !defined(NOPORTDOCS) +PORTDOCS= * +.endif + +PLIST_FILES= bin/sdlgnuboy bin/sgnuboy bin/xgnuboy + post-patch: .for file in sys/sdl/sdl.c sys/sdl/keymap.c @${REINPLACE_CMD} -e "s|SDL/|SDL11/|g" ${WRKSRC}/${file} .endfor -post-install: +do-install: +.for file in sdlgnuboy sgnuboy xgnuboy + ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin +.endfor .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR} diff --git a/emulators/gnuboy/pkg-plist b/emulators/gnuboy/pkg-plist deleted file mode 100644 index 57239743db1f..000000000000 --- a/emulators/gnuboy/pkg-plist +++ /dev/null @@ -1,12 +0,0 @@ -bin/sdlgnuboy -bin/sgnuboy -bin/xgnuboy -%%PORTDOCS%%share/doc/gnuboy/CHANGES -%%PORTDOCS%%share/doc/gnuboy/CONFIG -%%PORTDOCS%%share/doc/gnuboy/CREDITS -%%PORTDOCS%%share/doc/gnuboy/FAQ -%%PORTDOCS%%share/doc/gnuboy/HACKING -%%PORTDOCS%%share/doc/gnuboy/LIBERTY -%%PORTDOCS%%share/doc/gnuboy/README.old -%%PORTDOCS%%share/doc/gnuboy/WHATSNEW -%%PORTDOCS%%@dirrm share/doc/gnuboy |