summaryrefslogtreecommitdiff
path: root/emulators/vice/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-03-31 16:47:44 +0000
committerjlam <jlam@pkgsrc.org>2006-03-31 16:47:44 +0000
commitff93f47afc4785850c5d77b47313edbbc3d2e9bc (patch)
treeb68e1a98e3066e0715f76acc6dc5efeefaa8ed36 /emulators/vice/Makefile
parent285638edf1c6578c0cd7bfcfdd696646b482da87 (diff)
downloadpkgsrc-ff93f47afc4785850c5d77b47313edbbc3d2e9bc.tar.gz
* Welcome to the brave new world of gettext-0.14.5 -- if a source file
includes <libintl.h>, then we must ensure that the resulting object is linked against -lintl. This ensures that the correct *printf() functions are used across all platforms. * List the info files directly in the PLIST. * Leave the HTML documentation where it is originally installed so that it references image files correctly. Bump the PKGREVISION to 3.
Diffstat (limited to 'emulators/vice/Makefile')
-rw-r--r--emulators/vice/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile
index 42c1152f562..9c4c8236d20 100644
--- a/emulators/vice/Makefile
+++ b/emulators/vice/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.63 2006/03/13 20:55:42 wiz Exp $
+# $NetBSD: Makefile,v 1.64 2006/03/31 16:47:44 jlam Exp $
#
DISTNAME= vice-1.18
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.zimmers.net/pub/cbm/crossplatform/emulators/VICE/ \
http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/
@@ -27,7 +27,7 @@ USE_LANGUAGES+= c c++
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-fullscreen
-INFO_FILES= vice.info
+INFO_FILES= # PLIST
FONTS_DIRS.x11= ${PREFIX}/share/vice/fonts
REQD_DIRS+= ${PREFIX}/share/vice/fonts
REQD_DIRS+= ${PREFIX}/share/vice
@@ -44,17 +44,17 @@ CONFIGURE_ARGS+= --without-oss
post-patch:
@for file in `${FIND} ${WRKSRC} -name Makefile.in -print` \
${WRKSRC}/src/arch/unix/archdep.h; do \
- ${MV} -f $$file $$file.orig && \
${SED} -e "s|/lib/vice/doc|/share/doc/vice|g" \
-e "s|/lib/vice|/share/vice|g" \
-e "/^pkglibdir/s|(libdir)|(datadir)|g" \
- $$file.orig >$$file; \
+ $$file > $$file.new; \
+ if cmp -s $$file $$file.new; then \
+ rm -f $$file.new; \
+ else \
+ mv -f $$file.new $$file; \
+ fi; \
done
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/vice
- ${MV} ${PREFIX}/share/doc/vice/*.html ${PREFIX}/share/doc/html/vice
-
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"