aboutsummaryrefslogtreecommitdiffstats
path: root/palm
diff options
context:
space:
mode:
Diffstat (limited to 'palm')
-rw-r--r--palm/pilrc/Makefile13
-rw-r--r--palm/pilrc/pkg-plist18
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%%