aboutsummaryrefslogtreecommitdiff
path: root/audio/napster
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-01-16 20:40:17 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-01-16 20:40:17 +0000
commita955ce31f52b6f71c47704235a0bee84030e76ed (patch)
tree143593254d00cedf7c17636871a332a36aeac1c6 /audio/napster
parentb343d87474889087850aa063ffdde63c53ece78b (diff)
downloadports-a955ce31f52b6f71c47704235a0bee84030e76ed.tar.gz
ports-a955ce31f52b6f71c47704235a0bee84030e76ed.zip
Notes
Diffstat (limited to 'audio/napster')
-rw-r--r--audio/napster/Makefile13
-rw-r--r--audio/napster/files/patch-doc::Makefile.in16
-rw-r--r--audio/napster/pkg-plist1
3 files changed, 5 insertions, 25 deletions
diff --git a/audio/napster/Makefile b/audio/napster/Makefile
index 402587e65321..86f16e78405b 100644
--- a/audio/napster/Makefile
+++ b/audio/napster/Makefile
@@ -7,23 +7,18 @@ CATEGORIES+= audio net
MASTER_SITES= SF/nap/nap/${PORTVERSION}
MAINTAINER?= ports@FreeBSD.org
-COMMENT?= An MP3 sharing, search, and chat client for the OpenNAP network
+COMMENT?= MP3 sharing, search, and chat client for the OpenNAP network
CONFLICTS?= ru-nap-*
GNU_CONFIGURE= yes
-NO_STAGE= yes
-MAN1= nap.1
-
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in NEWS README doc/napster.txt doc/userguide.html
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/audio/napster/files/patch-doc::Makefile.in b/audio/napster/files/patch-doc::Makefile.in
index 49ecc59bb8b8..c7394856d010 100644
--- a/audio/napster/files/patch-doc::Makefile.in
+++ b/audio/napster/files/patch-doc::Makefile.in
@@ -9,19 +9,3 @@
man_MANS = nap.1
html_DATA = userguide.html
all: all-am
-@@ -208,6 +208,7 @@
- rm -f $(DESTDIR)$(man1dir)/$$inst; \
- done
- install-htmlDATA: $(html_DATA)
-+.ifndef(NOPORTDOCS)
- @$(NORMAL_INSTALL)
- $(mkdir_p) $(DESTDIR)$(htmldir)
- @list='$(html_DATA)'; for p in $$list; do \
-@@ -216,6 +217,7 @@
- echo " $(htmlDATA_INSTALL) $$d$$p $(DESTDIR)$(htmldir)/$$f"; \
- $(htmlDATA_INSTALL) $$d$$p $(DESTDIR)$(htmldir)/$$f; \
- done
-+.endif
-
- uninstall-htmlDATA:
- @$(NORMAL_UNINSTALL)
diff --git a/audio/napster/pkg-plist b/audio/napster/pkg-plist
index 23a31348eeae..6bab0d54a254 100644
--- a/audio/napster/pkg-plist
+++ b/audio/napster/pkg-plist
@@ -1,5 +1,6 @@
bin/nap
bin/napping
+man/man1/nap.1.gz
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/napster.txt