1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- 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
This commit is contained in:
Alexander Leidinger 2004-06-02 17:18:16 +00:00
parent 6d781b1c7d
commit 69ed83d170
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110684
2 changed files with 7 additions and 15 deletions

View File

@ -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>

View File

@ -1,4 +0,0 @@
bin/mkisofs
bin/isodump
bin/isoinfo
bin/isovfy