Makefile 859 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.2 2015/11/21 14:21:56 rpointel Exp $
  2. COMMENT = disassembles SWF
  3. DISTNAME = flasm16src
  4. PKGNAME = flasm-1.62
  5. REVISION = 0
  6. CATEGORIES = security devel
  7. HOMEPAGE = http://www.nowrap.de/flasm
  8. MAINTAINER = Remi Pointel <rpointel@openbsd.org>
  9. # https://github.com/coolwanglu/flasm/blob/master/LICENSE.TXT
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WANTLIB += c z
  12. MASTER_SITES = http://www.nowrap.de/download/
  13. EXTRACT_SUFX = .zip
  14. BUILD_DEPENDS = devel/gperf \
  15. devel/bison
  16. USE_GMAKE = Yes
  17. MAKE_FLAGS = CC="${CC}" CFLAGS="-Wall ${CFLAGS}"
  18. NO_TEST = Yes
  19. WRKDIST = ${WRKDIR}
  20. do-install:
  21. ${INSTALL_PROGRAM} ${WRKDIST}/flasm ${PREFIX}/bin/
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/flasm/
  23. .for i in LICENSE.TXT flasm.html flasm.ini
  24. ${INSTALL_DATA} ${WRKDIST}/${i} ${PREFIX}/share/doc/flasm/
  25. .endfor
  26. .include <bsd.port.mk>