summaryrefslogtreecommitdiffstats
path: root/devel/cobf/Makefile
blob: f02105251ae4c5b07bcd65f90bf37c1370072959 (plain)
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
# Created by: Ed Schouten <ed@fxq.nl>
# $FreeBSD$

PORTNAME=	cobf
PORTVERSION=	1.06
CATEGORIES=	devel
MASTER_SITES=	http://home.arcor.de/bernhard.baier/${PORTNAME}/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ed@FreeBSD.org
COMMENT=	C and C++ code obfuscator

OPTIONS_DEFINE=	DOCS

USES=		zip
WRKSRC=		${WRKDIR}
PORTDOCS=	COPYING README cobf.pdf
PLIST_FILES=	bin/cobf
MAKEFILE=	makefile
BUILD_WRKSRC=	${WRKSRC}/src/cpp

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/cpp/cobf ${STAGEDIR}${PREFIX}/bin/cobf
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/copyright.txt ${STAGEDIR}${DOCSDIR}/COPYING
	${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}/README
	${INSTALL_DATA} ${WRKSRC}/doc/cobf.pdf ${STAGEDIR}${DOCSDIR}/cobf.pdf

.include <bsd.port.mk>
OpenPOWER on IntegriCloud