Date: Mon, 16 Sep 2013 13:51:06 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327399 - in head/devel: swig13 swig20 Message-ID: <201309161351.r8GDp6ea084186@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Sep 16 13:51:05 2013 New Revision: 327399 URL: http://svnweb.freebsd.org/changeset/ports/327399 Log: Rename the swig13 package to avoid confusion with swig20 while here cleanup the swig13 port a bit Modified: head/devel/swig13/Makefile head/devel/swig20/Makefile Modified: head/devel/swig13/Makefile ============================================================================== --- head/devel/swig13/Makefile Mon Sep 16 13:44:26 2013 (r327398) +++ head/devel/swig13/Makefile Mon Sep 16 13:51:05 2013 (r327399) @@ -1,14 +1,11 @@ -# New ports collection makefile for: SWIG -# Date created: 19 April 1996 -# Whom: jkh -# +# Created by: jkh # $FreeBSD$ -# PORTNAME= swig PORTVERSION= 1.3.40 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} +PKGNAMESUFFIX= 13 MAINTAINER= ports@FreeBSD.org COMMENT= Simplified Wrapper and Interface Generator @@ -28,7 +25,7 @@ CFLAGS+= -fPIC -DPIC ALL_TARGET= swig PLIST_SUB+= VER="${VER}" -OPTIONS_DEFINE= LUA +OPTIONS_DEFINE= LUA DOCS EXAMPLES LUA_DESC= Enable Lua support .include <bsd.port.pre.mk> @@ -61,14 +58,14 @@ post-configure: post-install: ${LN} -f ${PREFIX}/bin/swig ${PREFIX}/bin/swig${VER} -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MDEXAMPLES} ${MKDIR} ${EXAMPLESDIR}/${PORTVERSION} cd ${WRKSRC}/Examples && ${FIND} . -type d \ -exec ${INSTALL} -d ${EXAMPLESDIR}/${PORTVERSION}/{} \; cd ${WRKSRC}/Examples && ${FIND} . -type f \ -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/${PORTVERSION}/{} \; .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR}/${PORTVERSION} cd ${WRKSRC}/Doc && ${FIND} . -type d \ -exec ${INSTALL} -d ${DOCSDIR}/${PORTVERSION}/{} \; Modified: head/devel/swig20/Makefile ============================================================================== --- head/devel/swig20/Makefile Mon Sep 16 13:44:26 2013 (r327398) +++ head/devel/swig20/Makefile Mon Sep 16 13:51:05 2013 (r327399) @@ -13,7 +13,6 @@ LICENSE= GPLv3 LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre -LATEST_LINK?= swig2 USE_AUTOTOOLS= autoconf:env libtool MAN1= ccache-swig${VER}.1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309161351.r8GDp6ea084186>