svn commit: r421787 - head/security/pad
John Marino
marino at FreeBSD.org
Sun Sep 11 04:09:30 UTC 2016
Author: marino
Date: Sun Sep 11 04:09:29 2016
New Revision: 421787
URL: https://svnweb.freebsd.org/changeset/ports/421787
Log:
security/pad: Add SSL flags and honor them
While here, convert to USES+=tar
Approved by: SSL blanket
Modified:
head/security/pad/Makefile
Modified: head/security/pad/Makefile
==============================================================================
--- head/security/pad/Makefile Sun Sep 11 04:06:29 2016 (r421786)
+++ head/security/pad/Makefile Sun Sep 11 04:09:29 2016 (r421787)
@@ -7,17 +7,23 @@ PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= security
MASTER_SITES= http://keyserver.kjsl.com/~jharris/distfiles/
-EXTRACT_SUFX= .tgz
MAINTAINER= jharris at widomaker.com
COMMENT= Command-line utility to encrypt files
+USES= tar:tgz ssl
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
PLIST_FILES= bin/pad man/man1/pad.1.gz
PORTDOCS= COPYING README ChangeLog
+CFLAGS+= -I${OPENSSLINC}
+LDFLAGS+= -L${OPENSSLLIB}
+
+post-patch:
+ ${REINPLACE_CMD} -e "s|\(-lcrypto\)|${LDFLAGS} \1|g" \
+ ${WRKSRC}/Makefile.in
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pad ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/pad.1 ${STAGEDIR}${MANPREFIX}/man/man1
More information about the svn-ports-head
mailing list