mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-06 11:41:52 +00:00
- Add configgen
Simple script that makes life a little easier with gnu-autotools on FreeBSD. Configgen takes all the guess work out of figuring out paths, gnu-autotools versions, and more. Configgen can simply be run in a source directory and it will figure out which versions of autotools to use and the best way to auto-generate a configure script or you can specify a command below. -gnu Create generic gnu configure script -gnome Create gnome specific configure script -bsd Use FreeBSD auto-tools (versions: libtool15, automake15, autoconf253) -bsd14 Use FreeBSD auto-tools (versions: libtool13, automake14, autoconf213) -bsd19 Use FreeBSD auto-tools (versions: libtool15, automake19, autoconf259) <config> Specify a auto-gen configure script
This commit is contained in:
parent
7a38f24fee
commit
cb21d71df6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142788
@ -149,6 +149,7 @@
|
||||
SUBDIR += cogito
|
||||
SUBDIR += colorer
|
||||
SUBDIR += commoncpp
|
||||
SUBDIR += configgen
|
||||
SUBDIR += cons
|
||||
SUBDIR += cons-test
|
||||
SUBDIR += cook
|
||||
|
49
devel/configgen/Makefile
Normal file
49
devel/configgen/Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
# New ports collection makefile for: configgen
|
||||
# Date created: 2005-09-15
|
||||
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= configgen
|
||||
PORTVERSION= 1.12
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/portstools/
|
||||
DISTNAME= ${PORTNAME}.sh?rev=${PORTVERSION}
|
||||
EXTRACT_SUFX= # empty
|
||||
|
||||
MAINTAINER= ahze@FreeBSD.org
|
||||
COMMENT= Script that makes life a little easier with gnu-autotools
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}.sh
|
||||
NO_BUILD= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITHOUT_GNUTOOLS)
|
||||
.for tool in autoconf213 autoconf253 autoconf259 automake14 automake15 automake19 \
|
||||
libtool13 libtool15
|
||||
RUN_DEPENDS+= ${tool}:${PORTSDIR}/devel/${tool}
|
||||
.endfor
|
||||
.for tool in autoconf automake libtool
|
||||
RUN_DEPENDS+= ${LOCALBASE}/gnu-autotools/bin/${tool}:${PORTSDIR}/devel/gnu-${tool}
|
||||
.endfor
|
||||
RUN_DEPENDS+= gnome-autogen.sh:${PORTSDIR}/devel/gnomecommon
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
.if !defined(WITHOUT_GNUTOOLS)
|
||||
@${ECHO_MSG} "You can disable the dependency of gnu-autotools by"
|
||||
@${ECHO_MSG} "defining WITHOUT_GNUTOOLS=yes"
|
||||
@${ECHO_MSG} ""
|
||||
.endif
|
||||
|
||||
do-extract:
|
||||
@${MKDIR} ${WRKSRC}
|
||||
${SED} -e 's|/usr/local|${LOCALBASE}|g; s|/usr/X11R6|${X11BASE}|g' \
|
||||
< ${DISTDIR}/${DISTNAME} > ${WRKSRC}/${PORTNAME}.sh
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
devel/configgen/distinfo
Normal file
2
devel/configgen/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (configgen.sh?rev=1.12) = e42299724752bbd70e8c66a542ca5e0b
|
||||
SIZE (configgen.sh?rev=1.12) = 5838
|
16
devel/configgen/pkg-descr
Normal file
16
devel/configgen/pkg-descr
Normal file
@ -0,0 +1,16 @@
|
||||
Simple script that makes life a little easier with gnu-autotools
|
||||
on FreeBSD. Configgen takes all the guess work out of figuring out
|
||||
paths, gnu-autotools versions, and more. Configgen can simply be
|
||||
run in a source directory and it will figure out which versions of
|
||||
autotools to use and the best way to auto-generate a configure script
|
||||
or you can specify a command below.
|
||||
|
||||
-gnu Create generic gnu configure script
|
||||
-gnome Create gnome specific configure script
|
||||
-bsd Use FreeBSD auto-tools
|
||||
(versions: libtool15, automake15, autoconf253)
|
||||
-bsd14 Use FreeBSD auto-tools
|
||||
(versions: libtool13, automake14, autoconf213)
|
||||
-bsd19 Use FreeBSD auto-tools
|
||||
(versions: libtool15, automake19, autoconf259)
|
||||
<config> Specify a auto-gen configure script
|
Loading…
x
Reference in New Issue
Block a user