mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
c4fd7792f9
Unfortunately I cannot give them the love they deserve at the moment.
37 lines
951 B
Makefile
37 lines
951 B
Makefile
# Created by: Frerich Raabe <frerich.raabe@gmx.de>
|
|
|
|
PORTNAME= cmunge
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.vcpc.univie.ac.at/vcpc/jhm/code/ \
|
|
http://bsd-geek.de/FreeBSD/distfiles/
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Tool for encrypting and compacting C source code
|
|
|
|
WRKSRC= ${WRKDIR}/cmunger
|
|
MAKE_ARGS= CC="${CC} ${CFLAGS}"
|
|
|
|
PLIST_FILES= bin/cmunge bin/ctran bin/proc-incl
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|/vcpc_users/jhm/bin/cmunger|${PREFIX}|; \
|
|
s|/usr/ccs/lib/cpp|/usr/bin/cpp|' ${WRKSRC}/cmunge
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/ctran ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/proc-incl ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cmunge ${STAGEDIR}${PREFIX}/bin
|
|
|
|
do-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|