svn commit: r321307 - head/biology/libgenome

Boris Samorodov bsam at FreeBSD.org
Wed Jun 19 18:53:55 UTC 2013


Author: bsam
Date: Wed Jun 19 18:53:54 2013
New Revision: 321307
URL: http://svnweb.freebsd.org/changeset/ports/321307

Log:
  . add license (GPLv2);
  . bump PORTREVISION;
  . NOPORTDOCS -> PORT_OPTIONS:MDOCS;
  . trim Makefile headers.

Modified:
  head/biology/libgenome/Makefile

Modified: head/biology/libgenome/Makefile
==============================================================================
--- head/biology/libgenome/Makefile	Wed Jun 19 18:51:16 2013	(r321306)
+++ head/biology/libgenome/Makefile	Wed Jun 19 18:53:54 2013	(r321307)
@@ -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 at 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}


More information about the svn-ports-all mailing list