mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stage support
This commit is contained in:
parent
b343d87474
commit
a955ce31f5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339982
@ -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>
|
||||
|
@ -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)
|
||||
|
@ -1,5 +1,6 @@
|
||||
bin/nap
|
||||
bin/napping
|
||||
man/man1/nap.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/napster.txt
|
||||
|
@ -13,7 +13,6 @@ CONFLICTS= nap-[0-9]*
|
||||
|
||||
WITH_ENCODING_PATCH= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
pre-configure:
|
||||
@${PATCH} ${PATCH_ARGS} < ${.CURDIR}/files/extra-win2koi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user