218d121ee8
code used in GnuPG. Changes over original shar file at the PR: . change the maintainer to emulation@ (since it's an infrastructure linux port); . use the latest version of the package (1.4.4-1.fc10); . use PLIST_FILES, PLIST_DIRSTRY and post-install target instead of pkg-plist. Notes: the port uses ${PREFIX}/etc/gcrypt directory for configuration files (i.e. /compat/linux/etc/gcrypt). We usually try to use FreeBSD directories. But there is no [/usr/local/]/etc/gcrypt directory. I'm open to ideas on what to do here. PR: ports/159007 Submitted by: Stas Timokhin <devel@stasyan.com>
28 lines
677 B
Makefile
28 lines
677 B
Makefile
# New ports collection makefile for: security/linux-f10-libgcrypt
|
|
# Date created: 10 Nov 2010
|
|
# Whom: Stas Timokhin <devel@stasyan.com>
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libgcrypt
|
|
PORTVERSION= 1.4.4
|
|
CATEGORIES= security linux
|
|
PKGNAMEPREFIX= linux-f10-
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION}
|
|
|
|
MAINTAINER= emulation@FreeBSD.org
|
|
COMMENT= General purpose crypto library based on code used in GnuPG
|
|
|
|
USE_LINUX_RPM= yes
|
|
LINUX_DIST_VER= 10
|
|
RPMVERSION= 1.fc10
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_FILES= lib/libgcrypt.so.11 lib/libgcrypt.so.11.5.2
|
|
PLIST_DIRSTRY= etc/gcrypt
|
|
DESCR= ${.CURDIR}/../libgcrypt/pkg-descr
|
|
|
|
post-install:
|
|
@${MKDIR} ${PREFIX}/etc/gcrypt
|
|
|
|
.include <bsd.port.mk>
|