aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cobf/Makefile
blob: d382aaebefd6ccc13b344f68e7164918339d0952 (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
# New ports collection makefile for:    cobf
# Date created:             14 May 2006
# Whom:                 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@fxq.nl
COMMENT=    C and C++ code obfuscator

USE_ZIP=    yes
WRKSRC=     ${WRKDIR}
PORTDOCS=   COPYING README cobf.pdf
PLIST_FILES=    bin/cobf

do-build:
    @${MAKE} -C ${WRKSRC}/src/cpp

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/cpp/cobf ${PREFIX}/bin/cobf
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/copyright.txt ${DOCSDIR}/COPYING
    ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}/README
    ${INSTALL_DATA} ${WRKSRC}/doc/cobf.pdf ${DOCSDIR}/cobf.pdf
.endif

.include <bsd.port.mk>