Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Oct 2012 13:11:20 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305471 - head/net/tintin++
Message-ID:  <201210071311.q97DBK8a004141@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Oct  7 13:11:20 2012
New Revision: 305471
URL: http://svn.freebsd.org/changeset/ports/305471

Log:
  - Pet portlint: remove ABI version number from LIB_DEPENDS
  - Convert to new options framework
  - Cleanup Makefile header

Modified:
  head/net/tintin++/Makefile   (contents, props changed)

Modified: head/net/tintin++/Makefile
==============================================================================
--- head/net/tintin++/Makefile	Sun Oct  7 13:07:29 2012	(r305470)
+++ head/net/tintin++/Makefile	Sun Oct  7 13:11:20 2012	(r305471)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:    tintin++
-# Date created:         15 Nov 1994
-# Whom:                 ache
-#
+# Created by: ache
 # $FreeBSD$
-#
 
 PORTNAME=	tintin++
 PORTVERSION=	2.00.8
@@ -17,9 +13,10 @@ COMMENT=	A client program to help playin
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	pcre.1:${PORTSDIR}/devel/pcre
+LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
 
-OPTIONS=	BIG5 "Big5 support" off
+OPTIONS_DEFINE=	BIG5 DOCS
+BIG5_DESC=	Big5 support
 
 CONFIGURE_ARGS=	--includedir=${LOCALBASE}/include \
 		--libdir=${LOCALBASE}/lib \
@@ -37,7 +34,7 @@ PORTDOCS=	${DOCS:T}
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_BIG5)
+.if ${PORT_OPTIONS:MBIG5}
 CONFIGURE_ARGS+=--enable-big5
 .endif
 
@@ -46,7 +43,7 @@ post-configure:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${INSTALL} -d ${DOCSDIR}/
 	cd ${WRKSRC}/../ && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}/
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210071311.q97DBK8a004141>