1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/converters/dumpasn1/Makefile
Kris Kennaway 47fc61855b dumpasn1 is a utility to dump the contents of ASN.1-encoded files,
such as SSL certificates, in human-readable format. It includes a full
list of security-related OIDs, and can be easily extended by the user.
2000-05-07 03:32:54 +00:00

30 lines
713 B
Makefile

# New ports collection makefile for: dumpasn1
# Date created: 6 May 2000
# Whom: kris@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= dumpasn1
PORTVERSION= 19990914
CATEGORIES= converters security
MASTER_SITES= http://www.cs.auckland.ac.nz/~pgut001/
DISTFILES= dumpasn1.c dumpasn1.cfg
EXTRACT_ONLY=
MAINTAINER= kris@FreeBSD.org
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/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}/dumpasn1.cfg ${PREFIX}/share/dumpasn1
.include <bsd.port.mk>