aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2004-06-03 01:18:16 +0800
committernetchild <netchild@FreeBSD.org>2004-06-03 01:18:16 +0800
commit4a8d0dd6a9f56694bf7c6af1bf8dab5a8cca6556 (patch)
tree6ffbee9a863f241494b99ca281db9ca321722daf /chinese
parentb30db34bd64f0e8e8ff39fa932b6c953ae9c6cae (diff)
downloadfreebsd-ports-gnome-4a8d0dd6a9f56694bf7c6af1bf8dab5a8cca6556.tar.gz
freebsd-ports-gnome-4a8d0dd6a9f56694bf7c6af1bf8dab5a8cca6556.tar.zst
freebsd-ports-gnome-4a8d0dd6a9f56694bf7c6af1bf8dab5a8cca6556.zip
- Add PKGNAMEPREFIX "zh-" as suggested by the Porter's Handbook.
- Suffix installed binary and man page with "-zh" in order to avoid conflicts with other ports installing mkisofs (note that it doesn't make sense to use MANLANG here as the man page is in English). - Don't build and install isodump, isoinfo and isovfy. They are not built with locale support, i.e. they don't differ in this regard from those installed by the cdrtools ports (expect the latter are later versions). - Use PLIST_FILES. Submitted by: marius
Diffstat (limited to 'chinese')
-rw-r--r--chinese/mkisofs/Makefile18
-rw-r--r--chinese/mkisofs/pkg-plist4
2 files changed, 7 insertions, 15 deletions
diff --git a/chinese/mkisofs/Makefile b/chinese/mkisofs/Makefile
index b63049c60c10..a8025c27b5fc 100644
--- a/chinese/mkisofs/Makefile
+++ b/chinese/mkisofs/Makefile
@@ -7,8 +7,10 @@
PORTNAME= mkisofs
PORTVERSION= 1.12b5
+PORTREVISION= 1
CATEGORIES= chinese sysutils
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/
+PKGNAMEPREFIX= zh-
PATCH_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/
PATCHFILES= mkisofs-1.12b5.big5patch.gz
@@ -17,18 +19,12 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Create ISO9660/JOLIET/Rock Ridge filesystems, Big5 compatible
GNU_CONFIGURE= yes
-USE_REINPLACE= yes
ALL_TARGET= World
-MAN8= mkisofs.8 isoinfo.8
+MAN8= mkisofs-zh.8
+PLIST_FILES= bin/mkisofs-zh
-pre-configure:
- ${REINPLACE_CMD} -e 's:prefix = /usr/local:prefix = ${PREFIX}:' \
- ${WRKSRC}/diag/Makefile.in
-
-post-build:
- cd ${WRKSRC}/diag && make
-
-post-install:
- cd ${WRKSRC}/diag && make install
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/mkisofs ${PREFIX}/bin/mkisofs-zh
+ @${INSTALL_MAN} ${WRKSRC}/mkisofs.8 ${PREFIX}/man/man8/mkisofs-zh.8
.include <bsd.port.mk>
diff --git a/chinese/mkisofs/pkg-plist b/chinese/mkisofs/pkg-plist
deleted file mode 100644
index b3a036769e3d..000000000000
--- a/chinese/mkisofs/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/mkisofs
-bin/isodump
-bin/isoinfo
-bin/isovfy