- Strip binaries

- Use PLIST_FILES

PR:		ports/67766
Submitted by:	michael johnson <ahze@ahze.net>
Approved by:	maintainer email bounces (connection refused for 5 days)
This commit is contained in:
Pav Lucistnik 2004-06-14 20:48:28 +00:00
parent a74496a12f
commit 2a3ddc3dc7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111486
2 changed files with 7 additions and 10 deletions

View File

@ -19,14 +19,17 @@ RUN_DEPENDS= ${LOCALBASE}/bin/mkisofs:${PORTSDIR}/sysutils/cdrtools
USE_REINPLACE= yes
MAN1= growisofs.1
# This software is installed setuid-root (mode 4755) by default.
INSTALL_TARGET= BIN_MODE=00755 install
BIN_FILES= growisofs dvd+rw-format dvd+rw-booktype dvd+rw-mediainfo
PLIST_FILES= ${BIN_FILES:S|^|bin/|}
PORTDOCS= index.html
post-patch:
${REINPLACE_CMD} -e 's/-O2//' ${WRKSRC}/Makefile.m4
post-install:
do-install:
.for i in ${BIN_FILES}
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin
.endfor
${INSTALL_MAN} ${WRKSRC}/growisofs.1 ${MANPREFIX}/man/man1/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}

View File

@ -1,6 +0,0 @@
bin/growisofs
bin/dvd+rw-format
bin/dvd+rw-booktype
bin/dvd+rw-mediainfo
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%