freebsd-ports/converters/dumpasn1/Makefile
Ade Lovett 7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00

38 lines
993 B
Makefile

# New ports collection makefile for: dumpasn1
# Date created: 6 May 2000
# Whom: kris@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= dumpasn1
PORTVERSION= 20021118
CATEGORIES= converters security
MASTER_SITES= http://www.cs.auckland.ac.nz/~pgut001/
DISTFILES= dumpasn1.c dumpasn1.cfg
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
EXTRACT_ONLY=
MAINTAINER= kris@FreeBSD.org
COMMENT= Dumps the contents of an ASN.1 encoded file, e.g. an SSL certificate
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= "Needs wprintf(), which isn't available on FreeBSD <5"
.endif
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/dumpasn1.c ${WRKSRC}
do-build:
cd ${WRKSRC} && \
${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
.include <bsd.port.post.mk>