From d5bc888169d21688358497d4f0eff02e1d588acb Mon Sep 17 00:00:00 2001 From: Michael Haro Date: Wed, 14 Apr 1999 19:55:55 +0000 Subject: 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. --- audio/cmp3/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'audio/cmp3/Makefile') 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 # -# $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 -- cgit v1.2.3