mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
b3d21b6178
PR: ports/100536 Submitted by: garga
42 lines
910 B
Makefile
42 lines
910 B
Makefile
# New ports collection makefile for: libdomainkeys
|
|
# Date created: 16 May 2005
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libdomainkeys
|
|
PORTVERSION= 0.68
|
|
PORTREVISION= 2
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= domainkeys
|
|
|
|
MAINTAINER= skv@FreeBSD.org
|
|
COMMENT= DomainKeys library
|
|
|
|
MAKE_ENV= PREFIX=${PREFIX} OPENSSLBASE="${OPENSSLBASE}"
|
|
INSTALLS_SHLIB= YES
|
|
SHLIB_MAJOR= 3
|
|
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
|
|
|
|
USE_OPENSSL= YES
|
|
|
|
.if defined(NOPROFILE)
|
|
PLIST_SUB+= PROFILE="@comment "
|
|
.else
|
|
PLIST_SUB+= PROFILE=""
|
|
.endif
|
|
|
|
post-patch:
|
|
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
|
|
@${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
|
|
${FILESDIR}/Makefile > ${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dknewkey ${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/test ${DATADIR}/dktest
|
|
|
|
.include <bsd.port.mk>
|