- Don't install boilerplate COPYING file as part of documentation, define
LICENSE instead (GPLv2) - Wrap two overly long lines, properly indent USES - Use option helper target for installing documentation, and INSTALL_DATA to install plain text files which are not actually real manual pages
This commit is contained in:
parent
9cdb26e022
commit
58fc0e78f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458749
1 changed files with 8 additions and 5 deletions
|
@ -9,7 +9,9 @@ MASTER_SITES= SF/${PORTNAME}/
|
||||||
MAINTAINER= rakuco@FreeBSD.org
|
MAINTAINER= rakuco@FreeBSD.org
|
||||||
COMMENT= Enhanced replacement for GNU stow written in C++
|
COMMENT= Enhanced replacement for GNU stow written in C++
|
||||||
|
|
||||||
USES= tar:bzip2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
|
USES= tar:bzip2
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
.if defined(WITH_DEBUG)
|
.if defined(WITH_DEBUG)
|
||||||
|
@ -19,12 +21,13 @@ CONFIGURE_ARGS+= --enable-debug
|
||||||
PLIST_FILES= bin/merge-info bin/xstow \
|
PLIST_FILES= bin/merge-info bin/xstow \
|
||||||
man/man1/merge-info.1.gz man/man1/xstow.1.gz \
|
man/man1/merge-info.1.gz man/man1/xstow.1.gz \
|
||||||
man/man5/xstow.ini.5.gz
|
man/man5/xstow.ini.5.gz
|
||||||
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO xstow.html xstow.ini xstow.ini.html
|
PORTDOCS= AUTHORS ChangeLog NEWS README TODO xstow.html \
|
||||||
|
xstow.ini xstow.ini.html
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-install:
|
post-install-DOCS-on:
|
||||||
(cd ${WRKSRC} && \
|
${INSTALL_DATA} ${PORTDOCS:M[ACNRT]*:S|^|${WRKSRC}/|} \
|
||||||
${INSTALL_MAN} AUTHORS COPYING ChangeLog NEWS README TODO ${STAGEDIR}${DOCSDIR})
|
${STAGEDIR}${DOCSDIR}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Reference in a new issue