diff options
author | skreuzer <skreuzer@FreeBSD.org> | 2014-06-19 04:57:39 +0800 |
---|---|---|
committer | skreuzer <skreuzer@FreeBSD.org> | 2014-06-19 04:57:39 +0800 |
commit | 41c4c61dee381c9901d8990a7a014801ee57e540 (patch) | |
tree | c5b261282a14eeb9569ec92b8dcbe070bb75e2a7 /palm | |
parent | 0b984dcc0e5a3e9f63f5bba40a07571b5b750a8c (diff) | |
download | freebsd-ports-gnome-41c4c61dee381c9901d8990a7a014801ee57e540.tar.gz freebsd-ports-gnome-41c4c61dee381c9901d8990a7a014801ee57e540.tar.zst freebsd-ports-gnome-41c4c61dee381c9901d8990a7a014801ee57e540.zip |
Add staging support
Define LICENSE
Replace NOPORTDOCS with ${PORT_OPTIONS:MDOCS}
Diffstat (limited to 'palm')
-rw-r--r-- | palm/pilrc/Makefile | 13 | ||||
-rw-r--r-- | palm/pilrc/pkg-plist | 18 |
2 files changed, 17 insertions, 14 deletions
diff --git a/palm/pilrc/Makefile b/palm/pilrc/Makefile index b19ce584a963..9ae70993f076 100644 --- a/palm/pilrc/Makefile +++ b/palm/pilrc/Makefile @@ -9,18 +9,21 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Resource compiler for Pilot applications +LICENSE= GPLv2 + WRKSRC= ${WRKDIR}/pilrc-${PORTVERSION}/unix CONFIGURE_ARGS+= --enable-pilrcui USE_GNOME= gtk12 GNU_CONFIGURE= yes -NO_STAGE= yes +.include <bsd.port.options.mk> + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pilrc ${WRKSRC}/pilrcui ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/../doc/* ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/pilrc ${WRKSRC}/pilrcui ${STAGEDIR}${PREFIX}/bin +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${CP} -R ${WRKSRC}/../doc/* ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/palm/pilrc/pkg-plist b/palm/pilrc/pkg-plist index 1096d31a1046..0395d8ee012e 100644 --- a/palm/pilrc/pkg-plist +++ b/palm/pilrc/pkg-plist @@ -1,11 +1,11 @@ bin/pilrc bin/pilrcui -%%PORTDOCS%%%%DOCSDIR%%/archive.html -%%PORTDOCS%%%%DOCSDIR%%/contrib.html -%%PORTDOCS%%%%DOCSDIR%%/download.html -%%PORTDOCS%%%%DOCSDIR%%/history.html -%%PORTDOCS%%%%DOCSDIR%%/images/download.gif -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/manual.html -%%PORTDOCS%%@dirrm %%DOCSDIR%%/images -%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%DOCS%%%%DOCSDIR%%/archive.html +%%DOCS%%%%DOCSDIR%%/contrib.html +%%DOCS%%%%DOCSDIR%%/download.html +%%DOCS%%%%DOCSDIR%%/history.html +%%DOCS%%%%DOCSDIR%%/images/download.gif +%%DOCS%%%%DOCSDIR%%/index.html +%%DOCS%%%%DOCSDIR%%/manual.html +%%DOCS%%@dirrm %%DOCSDIR%%/images +%%DOCS%%@dirrm %%DOCSDIR%% |