aboutsummaryrefslogtreecommitdiffstats
path: root/devel/templ
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-07-20 18:58:13 +0800
committeritetcu <itetcu@FreeBSD.org>2008-07-20 18:58:13 +0800
commitfc1464fd09f63911da41b4d9aba7b24772cbfe42 (patch)
tree95bbb14ba0b8b347b869b41f1e87eaa8a2018847 /devel/templ
parent8718eddbaa56119269f86366e57251eff273c017 (diff)
downloadfreebsd-ports-gnome-fc1464fd09f63911da41b4d9aba7b24772cbfe42.tar.gz
freebsd-ports-gnome-fc1464fd09f63911da41b4d9aba7b24772cbfe42.tar.zst
freebsd-ports-gnome-fc1464fd09f63911da41b4d9aba7b24772cbfe42.zip
- use DOCSDIR macro
- fix plist for -DNOPORTDOCS - bump PORTREVISION Prompted by: QAa Tindy run
Diffstat (limited to 'devel/templ')
-rw-r--r--devel/templ/Makefile7
-rw-r--r--devel/templ/pkg-plist5
2 files changed, 7 insertions, 5 deletions
diff --git a/devel/templ/Makefile b/devel/templ/Makefile
index 72033ce3b6b9..1a533ec899a0 100644
--- a/devel/templ/Makefile
+++ b/devel/templ/Makefile
@@ -7,8 +7,9 @@
PORTNAME= templ
PORTVERSION= 0.3
+PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.holywar.net/pub/templ/ \
+MASTER_SITES= ftp://ftp.holywar.net/pub/templ/ \
ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
MAINTAINER= ports@FreeBSD.org
@@ -16,8 +17,8 @@ COMMENT= Source code templates generator
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/templates
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/templates
+ @${MKDIR} ${DOCSDIR}/templates
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/templates
.endif
.include <bsd.port.mk>
diff --git a/devel/templ/pkg-plist b/devel/templ/pkg-plist
index 70686cb0d65d..d6498a9cb5a2 100644
--- a/devel/templ/pkg-plist
+++ b/devel/templ/pkg-plist
@@ -1,5 +1,5 @@
bin/templ
-share/doc/templates/README
+%%PORTDOCS%%%%DOCSDIR%%/templates/README
share/templates/t.4th
share/templates/t.c
share/templates/t.cc
@@ -12,5 +12,6 @@ share/templates/t.py
share/templates/t.sgml
share/templates/t.sh
share/templates/t.txt
-@dirrm share/doc/templates
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/templates
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm share/templates