Changes: - Use github directly instead of my local server. - Rework WRKSRC/Makefile to allow simplifying port Makefile and drop the dependency on gmake. - Drop README, refer to website instead. - Add a simple BF generator. Note that the version reported by the bf2c binary is still 1.2.5, as it did not change at all during this update.
28 lines
433 B
Makefile
28 lines
433 B
Makefile
# Created by: rene
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bf2c
|
|
PORTVERSION= 1.3.1
|
|
CATEGORIES= lang
|
|
|
|
MAINTAINER= rene@FreeBSD.org
|
|
COMMENT= Optimizing BrainF*ck to C compiler
|
|
|
|
LICENSE= BSD
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= rene0
|
|
GH_COMMIT= 4761081
|
|
USE_XZ= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|