From 69ed83d170cdde6998cfa580e3e6d550c9080642 Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Wed, 2 Jun 2004 17:18:16 +0000 Subject: [PATCH] - 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 --- chinese/mkisofs/Makefile | 18 +++++++----------- chinese/mkisofs/pkg-plist | 4 ---- 2 files changed, 7 insertions(+), 15 deletions(-) delete mode 100644 chinese/mkisofs/pkg-plist 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 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