Makefile 663 B

123456789101112131415161718192021222324252627282930
  1. # $OpenBSD: Makefile,v 1.14 2016/04/26 18:06:26 jca Exp $
  2. COMMENT= PPM to Pilot bitmap converter
  3. DISTNAME= ppmtoTbmp-1.1
  4. REVISION= 2
  5. CATEGORIES= converters graphics
  6. HOMEPAGE= http://www.isaac.cs.berkeley.edu/pilot/
  7. MAINTAINER= Josh Rivel <josh@rivels.org>
  8. PERMIT_PACKAGE_CDROM= Yes
  9. WANTLIB= c m netpbm
  10. MASTER_SITES= ${HOMEPAGE}
  11. MAKE_FLAGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/netpbm" \
  12. LDLIBS="-L${LOCALBASE}/lib -lnetpbm -lm"
  13. LIB_DEPENDS= graphics/netpbm
  14. do-install:
  15. ${INSTALL_PROGRAM} ${WRKBUILD}/Tbmptopnm ${PREFIX}/bin
  16. ${INSTALL_PROGRAM} ${WRKBUILD}/ppmtoTbmp ${PREFIX}/bin
  17. TEST_TARGET= test
  18. .include <bsd.port.mk>