diff options
author | bapt <bapt@FreeBSD.org> | 2013-09-16 21:51:05 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-09-16 21:51:05 +0800 |
commit | 692a76aa1bad5ddf64273775529ad1770fafee0b (patch) | |
tree | 6775cd0202b2a225e59be19e53538174fe87c875 | |
parent | df1ee9e167faf9e645bc263f2282451a277c002f (diff) | |
download | freebsd-ports-gnome-692a76aa1bad5ddf64273775529ad1770fafee0b.tar.gz freebsd-ports-gnome-692a76aa1bad5ddf64273775529ad1770fafee0b.tar.zst freebsd-ports-gnome-692a76aa1bad5ddf64273775529ad1770fafee0b.zip |
Rename the swig13 package to avoid confusion with swig20
while here cleanup the swig13 port a bit
-rw-r--r-- | devel/swig13/Makefile | 13 | ||||
-rw-r--r-- | devel/swig20/Makefile | 1 |
2 files changed, 5 insertions, 9 deletions
diff --git a/devel/swig13/Makefile b/devel/swig13/Makefile index aa82c79c697e..8fe54aca380b 100644 --- a/devel/swig13/Makefile +++ b/devel/swig13/Makefile @@ -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}/{} \; diff --git a/devel/swig20/Makefile b/devel/swig20/Makefile index 5af13ff26732..297e7d97f819 100644 --- a/devel/swig20/Makefile +++ b/devel/swig20/Makefile @@ -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 |