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

Support stage

This commit is contained in:
Baptiste Daroussin 2014-01-09 13:20:36 +00:00
parent 6cd6417229
commit f8831853e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339227

View File

@ -12,7 +12,6 @@ EXTRACT_ONLY= yes
MAINTAINER= ale@FreeBSD.org
COMMENT= Dumps the contents of an ASN.1 encoded file, e.g. an SSL certificate
NO_STAGE= yes
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/dumpasn1.c ${WRKSRC}
@ -22,8 +21,8 @@ do-build:
${CC} ${CFLAGS} -DCONFIG_NAME=\"${PREFIX}/share/dumpasn1/dumpasn1.cfg\" -o dumpasn1 dumpasn1.c
do-install:
${MKDIR} ${PREFIX}/share/dumpasn1
${INSTALL_PROGRAM} ${WRKSRC}/dumpasn1 ${PREFIX}/bin
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/dumpasn1.cfg ${PREFIX}/share/dumpasn1
@${MKDIR} ${STAGEDIR}${PREFIX}/share/dumpasn1
${INSTALL_PROGRAM} ${WRKSRC}/dumpasn1 ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/dumpasn1.cfg ${STAGEDIR}${PREFIX}/share/dumpasn1
.include <bsd.port.mk>