mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
- use DOCSDIR macro
- fix plist for -DNOPORTDOCS - bump PORTREVISION Prompted by: QAa Tindy run
This commit is contained in:
parent
ded1e248df
commit
e660f2c28d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217180
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user