Makefile 979 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD: Makefile,v 1.12 2016/01/10 16:28:59 jasper Exp $
  2. PORTROACH= ignore:1
  3. COMMENT= European Molecular Biology Open Software Suite
  4. DISTNAME= EMBOSS-6.0.1
  5. REVISION= 4
  6. SHARED_LIBS += eplplot 0.0 # .5.7
  7. SHARED_LIBS += ajax 1.0 # .6.0
  8. SHARED_LIBS += ajaxg 1.0 # .6.0
  9. SHARED_LIBS += nucleus 1.0 # .6.0
  10. CATEGORIES= biology
  11. HOMEPAGE= http://emboss.open-bio.org/
  12. # GPL v2
  13. PERMIT_PACKAGE_CDROM= Yes
  14. MASTER_SITES= https://distfiles.nl/
  15. WANTLIB += X11 c m xcb
  16. CONFIGURE_STYLE=gnu
  17. CONFIGURE_ARGS+= --without-java
  18. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  19. LDFLAGS="-L${LOCALBASE}/lib"
  20. DOC_DIRS= manuals tutorials programs/text programs/html
  21. pre-configure:
  22. .for d in ${DOC_DIRS}
  23. perl -pi -e \
  24. 's#\$$\(prefix\)/share/\$$\(PACKAGE\)/doc#\$$(datadir)/doc/\$$(PACKAGE)#' \
  25. ${WRKSRC}/doc/$d/Makefile.in
  26. .endfor
  27. post-install:
  28. rm -f ${PREFIX}/include/pcre*
  29. .include <bsd.port.mk>