- Take maintainership (tcltk@)

- Convert to USES+=tcl
- Trim Makefile headers
- Fix run-time (tkgeomap)
This commit is contained in:
Pietro Cerutti 2013-09-19 15:47:05 +00:00
parent d2b2b00e2e
commit 6e1a003d2b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327634
3 changed files with 14 additions and 27 deletions

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: ptiger
# Date created: 26 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= ptiger
PORTVERSION= 2.2
@ -11,12 +7,12 @@ PORTREVISION= 3
CATEGORIES= astro tk
MASTER_SITES= SF/tkgeomap/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Displays U.S. Census Bureau populated places on a map
LIB_DEPENDS= tkgeomap.0:${PORTSDIR}/astro/tkgeomap
LIB_DEPENDS= libtkgeomap.so:${PORTSDIR}/astro/tkgeomap
USE_TK_RUN= yes
USES+= tk:run
NO_BUILD= yes
post-patch:

View file

@ -1,19 +1,15 @@
# New ports collection makefile for: tclgeomap
# Date created: 25 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= tclgeomap
PORTVERSION= 2.11.6
CATEGORIES= astro tcl
MASTER_SITES= SF/tkgeomap/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Read, manipulate, and display geo data
USE_TCL= 84+
USES+= tcl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} --with-tclinclude=${TCL_INCLUDEDIR}
WRKSRC= ${WRKDIR}/${DISTNAME}/unix

View file

@ -1,36 +1,31 @@
# New ports collection makefile for: tkgeomap
# Date created: 25 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= tkgeomap
PORTVERSION= 2.11.6
CATEGORIES= astro tk
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Read, manipulate, and display geo data
LIB_DEPENDS= tclgeomap.0:${PORTSDIR}/astro/tclgeomap
LIB_DEPENDS= libtclgeomap.so:${PORTSDIR}/astro/tclgeomap
CONFIGURE_ARGS= --with-tclgeomap-include=${LOCALBASE}/include/tclgeomap --with-x \
--with-tcl=${TCL_LIBDIR} --with-tclinclude=${TCL_INCLUDEDIR} \
--with-tk=${TK_LIBDIR} --with-tkinclude=${TK_INCLUDEDIR} \
--x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include
CONFIGURE_ENV= TCLGEOMAP_LIB=${LOCALBASE}/lib/tclgeomap
USE_TK= 84+
MAKE_ENV+= TCLGEOMAP_LIB="-L ${LOCALBASE}/lib -ltclgeomap"
USES+= tk
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/unix
TKPKG= ${PORTNAME}
PLIST_SUB= INC=include/${TKPKG} LIB=lib/${TKPKG}
PLIST_SUB= INC=include/${PORTNAME} LIB=lib/${PORTNAME}
USE_LDCONFIG= yes
MANN= igeomap.n tkgeomap.n tkgeomap_procs.n wdgeomap.n
post-install:
@${LN} -sf ${PREFIX}/lib/lib${TKPKG}.so ${PREFIX}/lib/lib${PORTNAME}.so.0
@${LN} -sf ${PREFIX}/lib/lib${PORTNAME}.so ${PREFIX}/lib/lib${PORTNAME}.so.0
post-patch:
@${REINPLACE_CMD} -e '/=.*PACKAGE_VERSION/s|$${PACKAGE_VERSION}||g' ${WRKSRC}/configure