summaryrefslogtreecommitdiff
path: root/misc/gctpc
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-12 13:13:55 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-12 13:13:55 +0000
commit952cdae61073fa592ed846e02ca8bf79a69a19ec (patch)
tree72fc2503270deede0a440a43da9bcb50e844357e /misc/gctpc
parent- Fix MASTER_SITES (diff)
- Fix MASTER_SITES
- Utilize NOPORTDOCS PR: 57892 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=90923
Diffstat (limited to 'misc/gctpc')
-rw-r--r--misc/gctpc/Makefile10
-rw-r--r--misc/gctpc/pkg-plist26
2 files changed, 19 insertions, 17 deletions
diff --git a/misc/gctpc/Makefile b/misc/gctpc/Makefile
index 05b36fb54d7d..7100d33bad27 100644
--- a/misc/gctpc/Makefile
+++ b/misc/gctpc/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gctpc
PORTVERSION= 1.3
CATEGORIES= misc
-MASTER_SITES= http://edc.usgs.gov/pub/software/gctpc/
+MASTER_SITES= http://edcftp.cr.usgs.gov/pub/software/gctpc/
DISTNAME= gctpc
EXTRACT_SUFX= .tar.Z
@@ -29,8 +29,10 @@ do-install:
${MKDIR} ${PREFIX}/include/gctpc
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/gctpc
${INSTALL_DATA} ${FILESDIR}/*.h ${PREFIX}/include/gctpc
- ${MKDIR} ${PREFIX}/share/doc/gctpc
- ${INSTALL_MAN} ${WRKSRC}/../doc/* ${PREFIX}/share/doc/gctpc
- ${INSTALL_MAN} ${WRKSRC}/../README ${PREFIX}/share/doc/gctpc/README.main
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/../doc/* ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/../README ${DOCSDIR}/README.main
+.endif
.include <bsd.port.mk>
diff --git a/misc/gctpc/pkg-plist b/misc/gctpc/pkg-plist
index aeda4fa5f551..cef88d0ad0b1 100644
--- a/misc/gctpc/pkg-plist
+++ b/misc/gctpc/pkg-plist
@@ -10,17 +10,17 @@ include/gctpc/untfz.h
lib/libgctpc.a
lib/libgctpc.so
lib/libgctpc.so.1
-share/doc/gctpc/README
-share/doc/gctpc/README.main
-share/doc/gctpc/appendixA.txt
-share/doc/gctpc/appendixB.txt
-share/doc/gctpc/appendixC.txt
-share/doc/gctpc/for_init.ps
-share/doc/gctpc/gctp.ps
-share/doc/gctpc/inv_init.ps
-share/doc/gctpc/overview.ps
-share/doc/gctpc/reference.txt
-share/doc/gctpc/xxxfor.ps
-share/doc/gctpc/xxxinv.ps
-@dirrm share/doc/gctpc
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.main
+%%PORTDOCS%%%%DOCSDIR%%/appendixA.txt
+%%PORTDOCS%%%%DOCSDIR%%/appendixB.txt
+%%PORTDOCS%%%%DOCSDIR%%/appendixC.txt
+%%PORTDOCS%%%%DOCSDIR%%/for_init.ps
+%%PORTDOCS%%%%DOCSDIR%%/gctp.ps
+%%PORTDOCS%%%%DOCSDIR%%/inv_init.ps
+%%PORTDOCS%%%%DOCSDIR%%/overview.ps
+%%PORTDOCS%%%%DOCSDIR%%/reference.txt
+%%PORTDOCS%%%%DOCSDIR%%/xxxfor.ps
+%%PORTDOCS%%%%DOCSDIR%%/xxxinv.ps
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm include/gctpc