aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2006-08-29 07:39:34 +0000
committerVolker Stolz <vs@FreeBSD.org>2006-08-29 07:39:34 +0000
commitfc961acc08447d8edaa2a18c58c3f5563acf851e (patch)
tree05058357c877f0127883c30e47205100dab636ac
parent7ec2f14a2529f2dd5c497a7ddbc844c8ee4169ab (diff)
downloadports-fc961acc08447d8edaa2a18c58c3f5563acf851e.tar.gz
ports-fc961acc08447d8edaa2a18c58c3f5563acf851e.zip
Fix permissions and use PORTDOCS
PR: ports/100962 Submitted by: Stanislav Sedov
Notes
Notes: svn path=/head/; revision=171606
-rw-r--r--lang/gprolog/Makefile6
-rw-r--r--lang/gprolog/pkg-plist81
2 files changed, 5 insertions, 82 deletions
diff --git a/lang/gprolog/Makefile b/lang/gprolog/Makefile
index 45c6ea425c64..ba639a30901f 100644
--- a/lang/gprolog/Makefile
+++ b/lang/gprolog/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gprolog
PORTVERSION= 1.2.18
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_DEBIAN} ftp://ftp.inria.fr/INRIA/Projects/contraintes/gprolog/:doc
MASTER_SITE_SUBDIR= pool/main/g/${PORTNAME}
@@ -35,6 +35,8 @@ CONFIGURE_ARGS= --with-c-flags="${CFLAGS}" \
PLIST_SUB+= GPROLOG_VER=${PORTVERSION}
+PORTDOCS= *
+
.include <bsd.port.pre.mk>
.if defined(WITHOUT_FD)
@@ -57,6 +59,8 @@ post-install:
@${MKDIR} ${DOCSDIR}
@cd ${DOCSDIR} && ${GZIP_CMD} -cd ${_DISTDIR}/manual.pdf.gz >manual.pdf
@cd ${DOCSDIR} && ${TAR} zxf ${_DISTDIR}/manual-html.tar.gz
+ @${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
+ @${FIND} ${DOCSDIR}/ -type f -exec ${CHOWN} ${SHAREOWN}:${SHAREGRP} {} \;
. endif
.include <bsd.port.post.mk>
diff --git a/lang/gprolog/pkg-plist b/lang/gprolog/pkg-plist
index 93034a5c8946..2a8067a8b8ad 100644
--- a/lang/gprolog/pkg-plist
+++ b/lang/gprolog/pkg-plist
@@ -99,84 +99,3 @@ gprolog-%%GPROLOG_VER%%/ChangeLog
@dirrm gprolog-%%GPROLOG_VER%%/include
@dirrm gprolog-%%GPROLOG_VER%%/bin
@dirrm gprolog-%%GPROLOG_VER%%
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/compil-scheme.gif
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/contents_motif.gif
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/debug-box.gif
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/index.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual-idx.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual001.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual002.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual003.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual004.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual005.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual006.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual007.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual008.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual009.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual010.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual011.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual012.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual013.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual014.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual015.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual016.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual017.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual018.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual019.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual020.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual021.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual022.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual023.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual024.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual025.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual026.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual027.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual028.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual029.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual030.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual031.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual032.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual033.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual034.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual035.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual036.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual037.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual038.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual039.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual040.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual041.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual042.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual043.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual044.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual045.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual046.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual047.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual048.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual049.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual050.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual051.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual052.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual053.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual054.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual055.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual056.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual057.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual058.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual059.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual060.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual061.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual062.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual063.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual064.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual065.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual066.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual067.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual068.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual069.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual070.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual071.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/next_motif.gif
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/previous_motif.gif
-%%PORTDOCS%%%%DOCSDIR%%/manual.pdf
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/manual-html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%