aboutsummaryrefslogtreecommitdiff
path: root/lang/gprolog/Makefile
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 /lang/gprolog/Makefile
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
Diffstat (limited to 'lang/gprolog/Makefile')
-rw-r--r--lang/gprolog/Makefile6
1 files changed, 5 insertions, 1 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>