1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +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
# Ports collection makefile for: ccrypt
# Date created: Feb 7, 2002
# Whom: ijliao
#
# Created by: ijliao
# $FreeBSD$
#
PORTNAME= ccrypt
PORTVERSION= 1.9
PORTREVISION= 1
PORTVERSION= 1.10
CATEGORIES= security
MASTER_SITES= SF \
http://www.mathstat.dal.ca/~selinger/ccrypt/download/
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)
USE_GNOME= intltool
USE_GETTEXT= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
PLIST_SUB+= NLS=""
USE_GETTEXT= yes
.else
PLIST_SUB+= NLS="@comment "
USE_PERL5_BUILD= yes
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAN1= ccrypt.1
MAN1= ccrypt.1 ccguess.1
MLINKS= ccrypt.1 ccencrypt.1 \
ccrypt.1 ccdecrypt.1 \
ccrypt.1 ccat.1
@ -38,10 +33,11 @@ post-patch:
@${REINPLACE_CMD} -e 's|gtar|tar|g' ${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in README doc/ccrypt.html doc/cypfaq01.txt
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.for i in ccrypt.html cypfaq01.txt
${INSTALL_DATA} ${WRKSRC}/doc/$i ${DOCSDIR}
.endfor
.endif

View File

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

View File

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