- use DOCSDIR macro

- fix plist for -DNOPORTDOCS
- bump PORTREVISION

Prompted by:	QAa Tindy run
This commit is contained in:
Ion-Mihai Tetcu
2008-07-20 10:58:13 +00:00
parent ded1e248df
commit e660f2c28d
2 changed files with 7 additions and 5 deletions

View File

@@ -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>

View File

@@ -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