Makefile 783 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.29 2015/03/16 18:07:47 naddy Exp $
  2. COMMENT= Multiple-image Network Graphics (MNG) reference library
  3. DISTNAME= lm010010
  4. PKGNAME= libmng-1.0.10
  5. REVISION= 3
  6. CATEGORIES= graphics
  7. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmng/}
  8. EXTRACT_SUFX= .zip
  9. UNZIP= unzip -a
  10. SHARED_LIBS= mng 3.1
  11. HOMEPAGE= http://www.libmng.com/
  12. # BSD
  13. PERMIT_PACKAGE_CDROM= Yes
  14. WANTLIB= jpeg lcms m z
  15. LIB_DEPENDS= graphics/lcms
  16. # non shared arches...
  17. LIB_DEPENDS += graphics/jpeg
  18. FAKE_FLAGS= PREFIX="${PREFIX}"
  19. MAKE_ENV= CC="${CC}" \
  20. SHLIB_MAJOR=${LIBmng_VERSION:R} \
  21. SHLIB_MINOR=${LIBmng_VERSION:E}
  22. MAKE_FILE= makefiles/makefile.openbsd
  23. WRKDIST= ${WRKDIR}/libmng
  24. NO_TEST= Yes
  25. post-extract:
  26. @cp -f ${FILESDIR}/makefile.openbsd ${WRKSRC}/makefiles
  27. .include <bsd.port.mk>