1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/cmunge/Makefile
Jean-Yves Lefort 2074471f5e Fix hardcoded paths in the cmunge script.
PR:		ports/88163
Submitted by:	maintainer
2005-10-29 10:29:45 +00:00

40 lines
957 B
Makefile

# New ports collection makefile for: cmunge
# Date created: October 26th 2005
# Whom: Frerich Raabe <frerich.raabe@gmx.de>
#
# $FreeBSD$
#
PORTNAME= cmunge
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.vcpc.univie.ac.at/vcpc/jhm/code/
DISTNAME= ${PORTNAME}
MAINTAINER= frerich.raabe@gmx.de
COMMENT= A 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= *
USE_REINPLACE= yes
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 ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/proc-incl ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/cmunge ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>