aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-06-20 02:53:54 +0800
committerbsam <bsam@FreeBSD.org>2013-06-20 02:53:54 +0800
commitb2a4bfeba1401f8035eb0ef2d997ddaa1b834069 (patch)
tree96ca542a24b6f934b88f1172397bdfc36d82bda0
parentc15c4e11a7177dac4718f0bfb6571fe640ef7e7e (diff)
downloadfreebsd-ports-gnome-b2a4bfeba1401f8035eb0ef2d997ddaa1b834069.tar.gz
freebsd-ports-gnome-b2a4bfeba1401f8035eb0ef2d997ddaa1b834069.tar.zst
freebsd-ports-gnome-b2a4bfeba1401f8035eb0ef2d997ddaa1b834069.zip
. add license (GPLv2);
. bump PORTREVISION; . NOPORTDOCS -> PORT_OPTIONS:MDOCS; . trim Makefile headers.
-rw-r--r--biology/libgenome/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/biology/libgenome/Makefile b/biology/libgenome/Makefile
index 5b046ba12094..0183223bc34b 100644
--- a/biology/libgenome/Makefile
+++ b/biology/libgenome/Makefile
@@ -1,14 +1,9 @@
-# ex:ts=8
-# Ports collection makefile for: libgenome
-# Date created: Jul 30, 2002
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= libgenome
PORTVERSION= 0.5.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= biology
MASTER_SITES= http://pages.cs.wisc.edu/~darling/libgenome/releases/
DISTNAME= libGenome-${PORTVERSION}
@@ -16,16 +11,22 @@ DISTNAME= libGenome-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Toolkit for developing bioinformatic related software in C++
+LICENSE= GPLv2
+
USE_AUTOTOOLS= libtool
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|-O2|@CXXFLAGS@|g' ${WRKSRC}/src/Makefile.in
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/html/*.css ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/html/*.png ${DOCSDIR}