espie 383e4a9f9a update gperf, as prompted by Florian Stinglmayr
slightly more "fun" than expected thanks to the unsigned int -> size_t
change, which requires some other ports to stay in synch
2018-01-19 23:01:41 +00:00

42 lines
861 B
Makefile

# $OpenBSD: Makefile,v 1.3 2018/01/19 23:01:41 espie Exp $
COMMENT = disassembles SWF
DISTNAME = flasm16src
PKGNAME = flasm-1.62
REVISION = 1
CATEGORIES = security devel
HOMEPAGE = http://www.nowrap.de/flasm
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
# https://github.com/coolwanglu/flasm/blob/master/LICENSE.TXT
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c z
MASTER_SITES = http://www.nowrap.de/download/
EXTRACT_SUFX = .zip
BUILD_DEPENDS = devel/gperf>=3.1 \
devel/bison
USE_GMAKE = Yes
MAKE_FLAGS = CC="${CC}" CFLAGS="-Wall ${CFLAGS}"
NO_TEST = Yes
WRKDIST = ${WRKDIR}
do-install:
${INSTALL_PROGRAM} ${WRKDIST}/flasm ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/flasm/
.for i in LICENSE.TXT flasm.html flasm.ini
${INSTALL_DATA} ${WRKDIST}/${i} ${PREFIX}/share/doc/flasm/
.endfor
.include <bsd.port.mk>