1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/textproc/c2man/Makefile
Li-Wen Hsu a11a3cd203 Add c2man, tool to generate documentation from C source code comments
Add with DEPRECATED but without EXPIRATION_DATE because it is not recommended
for use in new projects.  We still add this port because there is needed for
building GNU FriBidi from git snapshot.

PR:		226915
Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
2018-05-06 12:31:02 +00:00

36 lines
898 B
Makefile

# $FreeBSD$
PORTNAME= c2man
PORTVERSION= ${VERSION}.${PATCHLEVEL}
CATEGORIES= textproc
MASTER_SITES= http://www.ciselant.de/${PORTNAME}/
DISTNAME= ${PORTNAME}-${VERSION}@${PATCHLEVEL}
MAINTAINER= lantw44@gmail.com
COMMENT= Tool to generate documentation from C source code comments
LICENSE= ${PORTNAME}
LICENSE_NAME= ${PORTNAME}
LICENSE_FILE= ${WRKSRC}/README
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
DEPRECATED= Not recommended for use in new projects
VERSION= 2.0
PATCHLEVEL= 42
NO_WRKSUBDIR= yes
NO_INSTALL= yes
PLIST_FILES= bin/c2man man/man1/c2man.1.gz
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT=Configure
CONFIGURE_ARGS= -des -Dcc="${CC}" -Dccflags="${CFLAGS}" -Dldflags="${LDFLAGS}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/
.include <bsd.port.mk>