1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-18 12:25:41 +00:00
parent 9ce0247c70
commit c81f564a8a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344877

View File

@ -1,4 +1,4 @@
# Created by: Sergey Skvortsov <skv@protey.ru>
Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= libdomainkeys
@ -9,21 +9,20 @@ MASTER_SITES= SF/domainkeys/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= DomainKeys library
USE_LDCONFIG= YES
USE_LDCONFIG= yes
SHLIB_MAJOR= 3
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
USE_OPENSSL= YES
USE_OPENSSL= yes
NO_STAGE= yes
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
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/dknewkey ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/test ${STAGEDIR}${DATADIR}/dktest
.include <bsd.port.mk>