mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Take maintainership (tcltk@)
- Convert to USES+=tcl - Trim Makefile headers - Fix run-time (tkgeomap)
This commit is contained in:
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
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue