openbsd-ports/biology/emboss/Makefile
steven 2f69c61a4a initial import of EMBOSS 5.0.0
European Molecular Biology Open Software Suite
2007-09-25 08:23:02 +00:00

45 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/09/25 08:23:02 steven Exp $
COMMENT= European Molecular Biology Open Software Suite
DISTNAME= EMBOSS-5.0.0
PKGNAME= ${DISTNAME:L}
SHARED_LIBS += eplplot 0.0 # .5.7
SHARED_LIBS += ajax 0.0 # .5.0
SHARED_LIBS += ajaxg 0.0 # .5.0
SHARED_LIBS += nucleus 0.0 # .5.0
CATEGORIES= biology
HOMEPAGE= http://emboss.sourceforge.net/
# GPL v2
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MASTER_SITES= ftp://emboss.open-bio.org/pub/EMBOSS/
WANTLIB= X11 Xau Xdmcp c m
USE_X11= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
DOC_DIRS= manuals tutorials programs/text programs/html
pre-configure:
.for d in ${DOC_DIRS}
perl -pi -e \
's#\$$\(prefix\)/share/\$$\(PACKAGE\)/doc#\$$(datadir)/doc/\$$(PACKAGE)#' \
${WRKSRC}/doc/$d/Makefile.in
.endfor
post-install:
rm -f ${PREFIX}/include/pcre*
.include <bsd.port.mk>