1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/devel/cobf/Makefile
Pav Lucistnik 3e82ea7898 COBF (aka C-Obfuscator) is a program which manipulates C or C++ sourcefiles
in a way that they aren't readable by human beings; but they remain
compilable.

WWW: http://home.arcor.de/bernhard.baier/cobf/

Please note: the 'copyright.txt' disallows patching the sourcecode
without explicit permission from the author. Binary packages are not
permitted without shipping the source.

I contacted the author of COBF (emails available per request) and we are
allowed to patch 'src/cpp/makefile' (see 'files/patch-makefile'). He
also permits us shipping binary-only packages (because users can obtain
the source with 'make fetch' anyway).

PR:		ports/97264
Submitted by:	Ed Schouten <ed@fxq.nl>
2006-06-11 09:39:38 +00:00

35 lines
795 B
Makefile

# 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>