aboutsummaryrefslogtreecommitdiff
path: root/security/ccrypt
diff options
context:
space:
mode:
Diffstat (limited to 'security/ccrypt')
-rw-r--r--security/ccrypt/Makefile17
-rw-r--r--security/ccrypt/pkg-plist7
2 files changed, 13 insertions, 11 deletions
diff --git a/security/ccrypt/Makefile b/security/ccrypt/Makefile
index f49c9f0f375a..6d736445c09e 100644
--- a/security/ccrypt/Makefile
+++ b/security/ccrypt/Makefile
@@ -10,8 +10,10 @@ MASTER_SITES= SF \
MAINTAINER= dev2@heesakkers.info
COMMENT= Command-line utility for encrypting and decrypting files and streams
-USES= gmake
-NO_STAGE= yes
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= gmake
OPTIONS_DEFINE= DOCS NLS
@@ -29,20 +31,15 @@ CONFIGURE_ARGS+= --disable-nls
GNU_CONFIGURE= yes
-MAN1= ccrypt.1 ccguess.1
-MLINKS= ccrypt.1 ccencrypt.1 \
- ccrypt.1 ccdecrypt.1 \
- ccrypt.1 ccat.1
-
post-patch:
@${REINPLACE_CMD} -e 's|gtar|tar|g' ${WRKSRC}/configure
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.for i in ccrypt.html cypfaq01.txt
- ${INSTALL_DATA} ${WRKSRC}/doc/$i ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/$i ${STAGEDIR}${DOCSDIR}
.endfor
.endif
diff --git a/security/ccrypt/pkg-plist b/security/ccrypt/pkg-plist
index 66c2de9479cf..7711d8e470a4 100644
--- a/security/ccrypt/pkg-plist
+++ b/security/ccrypt/pkg-plist
@@ -3,9 +3,14 @@ bin/ccdecrypt
bin/ccencrypt
bin/ccguess
bin/ccrypt
+man/man1/ccencrypt.1.gz
+man/man1/ccdecrypt.1.gz
+man/man1/ccat.1.gz
+man/man1/ccrypt.1.gz
+man/man1/ccguess.1.gz
%%NLS%%share/locale/de/LC_MESSAGES/ccrypt.mo
%%NLS%%share/locale/fr/LC_MESSAGES/ccrypt.mo
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/ccrypt.html
%%PORTDOCS%%%%DOCSDIR%%/cypfaq01.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%