aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2006-08-29 15:39:34 +0800
committervs <vs@FreeBSD.org>2006-08-29 15:39:34 +0800
commit1ff8b43280032f663106081313cad3fa6f345b3e (patch)
tree213421155ef1c480da29067df5653eaa5a687817 /lang
parent732e9ebdc861ac9fd21089dbf72d4aaf166235e8 (diff)
downloadfreebsd-ports-gnome-1ff8b43280032f663106081313cad3fa6f345b3e.tar.gz
freebsd-ports-gnome-1ff8b43280032f663106081313cad3fa6f345b3e.tar.zst
freebsd-ports-gnome-1ff8b43280032f663106081313cad3fa6f345b3e.zip
Fix permissions and use PORTDOCS
PR: ports/100962 Submitted by: Stanislav Sedov
Diffstat (limited to 'lang')
-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%%