diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/templ/Makefile | 7 | ||||
-rw-r--r-- | devel/templ/pkg-plist | 5 |
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 |