diff options
author | Michael Haro <mharo@FreeBSD.org> | 1999-04-14 19:55:55 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 1999-04-14 19:55:55 +0000 |
commit | d5bc888169d21688358497d4f0eff02e1d588acb (patch) | |
tree | 98ceb4273e73307a7c0b3c1f2ecb372e7f8bc57d | |
parent | Add a lynx.cfg.default file, only install lynx.cfg if it doesn't already (diff) |
support NOPORTDOCS with a different PLIST, don't display message
telling you to read the readme if you didn't install the docs, and
expand ${PREFIX} in the MESSAGE file.
Notes
Notes:
svn path=/head/; revision=17876
-rw-r--r-- | audio/cmp3/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/audio/cmp3/Makefile b/audio/cmp3/Makefile index bff7e166b3d7..fc692f14b56d 100644 --- a/audio/cmp3/Makefile +++ b/audio/cmp3/Makefile @@ -3,7 +3,7 @@ # Date created: 10 April 1999 # Whom: Chris Piazza <cpiazza@home.net> # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1999/04/13 23:26:27 mharo Exp $ # DISTNAME= cmp3-2.0pre3 @@ -17,7 +17,11 @@ RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 USE_GMAKE= yes -WRKSRC= ${WRKDIR}/cmp3 +WRKSRC= ${WRKDIR}/cmp3 +PKGMESSAGE= ${WRKSRC}/MESSAGE +.if defined(NOPORTDOCS) +PLIST= ${PKGDIR}/PLIST.nodocs +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cmp3 ${PREFIX}/bin @@ -28,6 +32,9 @@ do-install: .endif post-install: - @${CAT} ${PKGDIR}/MESSAGE +.if !defined(NOPORTDOCS) + @${SED} 's,PREFIX,${PREFIX},' ${PKGDIR}/MESSAGE > ${WRKSRC}/MESSAGE + @${CAT} ${WRKSRC}/MESSAGE +.endif .include <bsd.port.mk> |