1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

- update to 1.10, trim historical header

- adopt optionsNG and general cleanup

PR:             174137 (based on)
Submitted by:   maintainer, dev2@heesakkers.info
Approved by:    maintainer
Feature safe:	yes
This commit is contained in:
Jason Helfman 2012-12-05 18:26:50 +00:00
parent 415a60afb4
commit 511e990ef3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308341
3 changed files with 21 additions and 24 deletions

View File

@ -1,35 +1,30 @@
# ex:ts=8 # Created by: ijliao
# Ports collection makefile for: ccrypt
# Date created: Feb 7, 2002
# Whom: ijliao
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= ccrypt PORTNAME= ccrypt
PORTVERSION= 1.9 PORTVERSION= 1.10
PORTREVISION= 1
CATEGORIES= security CATEGORIES= security
MASTER_SITES= SF \ MASTER_SITES= SF \
http://www.mathstat.dal.ca/~selinger/ccrypt/download/ http://www.mathstat.dal.ca/~selinger/ccrypt/download/
MAINTAINER= dev2@heesakkers.info MAINTAINER= dev2@heesakkers.info
COMMENT= A command-line utility for encrypting and decrypting files and streams COMMENT= Command-line utility for encrypting and decrypting files and streams
.if !defined(WITHOUT_NLS) .include <bsd.port.options.mk>
USE_GNOME= intltool
USE_GETTEXT= yes .if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= NLS="" PLIST_SUB+= NLS=""
USE_GETTEXT= yes
.else .else
PLIST_SUB+= NLS="@comment "
USE_PERL5_BUILD= yes USE_PERL5_BUILD= yes
CONFIGURE_ARGS+= --disable-nls CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif .endif
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USE_GMAKE= yes
MAN1= ccrypt.1 MAN1= ccrypt.1 ccguess.1
MLINKS= ccrypt.1 ccencrypt.1 \ MLINKS= ccrypt.1 ccencrypt.1 \
ccrypt.1 ccdecrypt.1 \ ccrypt.1 ccdecrypt.1 \
ccrypt.1 ccat.1 ccrypt.1 ccat.1
@ -38,10 +33,11 @@ post-patch:
@${REINPLACE_CMD} -e 's|gtar|tar|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|gtar|tar|g' ${WRKSRC}/configure
post-install: post-install:
.if !defined(NOPORTDOCS) .if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR} @${MKDIR} ${DOCSDIR}
.for i in README doc/ccrypt.html doc/cypfaq01.txt ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR} .for i in ccrypt.html cypfaq01.txt
${INSTALL_DATA} ${WRKSRC}/doc/$i ${DOCSDIR}
.endfor .endfor
.endif .endif

View File

@ -1,2 +1,2 @@
SHA256 (ccrypt-1.9.tar.gz) = 6538cb75f7f45faf20f912c7b0d284831b0afced9fc61984b8d45a990276ebaf SHA256 (ccrypt-1.10.tar.gz) = 87d66da2170facabf6f2fc073586ae2c7320d4689980cfca415c74688e499ba0
SIZE (ccrypt-1.9.tar.gz) = 667059 SIZE (ccrypt-1.10.tar.gz) = 669491

View File

@ -1,10 +1,11 @@
bin/ccat bin/ccat
bin/ccdecrypt bin/ccdecrypt
bin/ccencrypt bin/ccencrypt
bin/ccguess
bin/ccrypt bin/ccrypt
%%NLS%%share/locale/de/LC_MESSAGES/ccrypt.mo %%NLS%%share/locale/de/LC_MESSAGES/ccrypt.mo
%%NLS%%share/locale/fr/LC_MESSAGES/ccrypt.mo %%NLS%%share/locale/fr/LC_MESSAGES/ccrypt.mo
%%PORTDOCS%%share/doc/ccrypt/README %%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%share/doc/ccrypt/ccrypt.html %%PORTDOCS%%%%DOCSDIR%%/ccrypt.html
%%PORTDOCS%%share/doc/ccrypt/cypfaq01.txt %%PORTDOCS%%%%DOCSDIR%%/cypfaq01.txt
%%PORTDOCS%%@dirrm share/doc/ccrypt %%PORTDOCS%%@dirrm %%DOCSDIR%%