aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gctpc
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-10-12 21:13:55 +0800
committerkrion <krion@FreeBSD.org>2003-10-12 21:13:55 +0800
commit16ab9470c1bd4552f9d93fb366539fb29fac8c04 (patch)
treeef7517249ce24bcfb5951812caa825744f1edab1 /misc/gctpc
parent8bbadd5b91d8e709d742d9ea65cccfa5b1c512ae (diff)
downloadfreebsd-ports-gnome-16ab9470c1bd4552f9d93fb366539fb29fac8c04.tar.gz
freebsd-ports-gnome-16ab9470c1bd4552f9d93fb366539fb29fac8c04.tar.zst
freebsd-ports-gnome-16ab9470c1bd4552f9d93fb366539fb29fac8c04.zip
- Fix MASTER_SITES
- Utilize NOPORTDOCS PR: 57892 Submitted by: Ports Fury
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