blob: a3cd46b96980f33bcf36e953d3ea2332d97c6a07 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# 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/ \
http://bsd-geek.de/FreeBSD/distfiles/
DISTNAME= ${PORTNAME}
MAINTAINER= lme@FreeBSD.org
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= *
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>
|