aboutsummaryrefslogtreecommitdiffstats
path: root/audio/nas
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-06-24 15:03:37 +0800
committeritetcu <itetcu@FreeBSD.org>2008-06-24 15:03:37 +0800
commit47c4c3d3e8faa18934ab2ed340d7918078a41a8f (patch)
treea4791ba02f9193f57cad3691f10f707c5a874dbf /audio/nas
parent621c209170c1978399f67f474cc347c964e17854 (diff)
downloadfreebsd-ports-graphics-47c4c3d3e8faa18934ab2ed340d7918078a41a8f.tar.gz
freebsd-ports-graphics-47c4c3d3e8faa18934ab2ed340d7918078a41a8f.tar.zst
freebsd-ports-graphics-47c4c3d3e8faa18934ab2ed340d7918078a41a8f.zip
- Really fix plist this time
- bump PORTREVISION again
Diffstat (limited to 'audio/nas')
-rw-r--r--audio/nas/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/nas/Makefile b/audio/nas/Makefile
index 10bad83d00c..bec069b8354 100644
--- a/audio/nas/Makefile
+++ b/audio/nas/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nas
PORTVERSION= 1.9.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF
EXTRACT_SUFX= .src.tar.gz
@@ -28,6 +28,12 @@ SUB_FILES= pkg-message
post-patch:
@${FIND} ${WRKSRC} -name '*.c' | ${XARGS} ${GREP} -lF malloc.h \
| ${XARGS} ${REINPLACE_CMD} -n -e "s|<malloc.h>||" -e t -e p
+.if defined(NOPORTDOCS)
+ ${REINPLACE_CMD} -e '/^install.man::/ { p; s/.*/ exit 0\\/; }' \
+ ${WRKSRC}/Makefile
+.else
+.include "Makefile.man"
+.endif
post-configure:
# Work around shortcomings of the Image.rules et. al:
@@ -39,10 +45,6 @@ post-configure:
post-install:
@${CAT} ${PKGMESSAGE}
-.ifndef(NOPORTDOCS)
-. include "Makefile.man"
-.endif
-
.if ${ARCH} == "sparc64"
FPIC= -fPIC
.else