Index: head/Mk/Uses/autoreconf.mk =================================================================== --- head/Mk/Uses/autoreconf.mk (revision 413184) +++ head/Mk/Uses/autoreconf.mk (revision 413185) @@ -1,91 +1,92 @@ # $FreeBSD$ # # Run autoreconf in CONFIGURE_WRKSRC to update configure, Makefile.in and # other build scripts. # # Autoreconf encapsulates the following commands. Each command applies to a # single configure.ac or configure.in (old name). If configure.ac defines # subdirectories with their own configure.ac (using AC_CONFIG_SUBDIRS), # autoreconf will recursively update those as well. # # aclocal Looks up definitions of m4 macros used in configure.ac that are # not provided by autoconf and copies them from their source *.m4 # file to aclocal.m4. Local *.m4 files included with the source # code take precedence over systemwide *.m4 files. # Must be run whenever configure.ac or *.m4 files with macros # used in configure.ac have been modified. # Must also be run whenever automake must be run because the # automake macros in aclocal.m4 must have the same version as the # automake command. # autoconf Generates configure from configure.ac using macro definitions # provided by autoconf itself and aclocal.m4. # Must be run whenever configure.ac or aclocal.m4 has been # modified. # autoheader Generates a configuration header (typically config.h.in) from # configure.ac and the macro definitions in aclocal.m4. # Must be run whenever configure.ac or aclocal.m4 has been # modified and configure.ac (or one of the macros it uses) # contains AC_CONFIG_HEADERS, AC_CONFIG_HEADER (undocumented) or # AM_CONFIG_HEADER (obsolete). # automake Generates Makefile.in from Makefile.am for each Makefile # specified in configure.ac. Also updates build scripts like # compile, depcomp, install-sh, ylwrap,... # Must be run whenever Makefile.am, configure.ac or aclocal.m4 # has been modified and configure.ac (or one of the macros it # uses) contains AM_INIT_AUTOMAKE. # autopoint Updates gettext related *.m4 files and build scripts such as # config.rpath. # If a port uses gettext, this command must be run whenever # aclocal must be run such that the gettext macros in aclocal.m4 # have the same version as the gettext build scripts. # libtoolize Updates libtool related *.m4 files and build scripts such as # ltmain.sh. # If a port uses libtool, this command must be run whenever # aclocal must be run such that the libtool macros in aclocal.m4 # have the same version as the libtool build scripts. # # Feature: autoreconf # Usage: USES=autoreconf or USES=autoreconf:args # Valid args: build Don't run autoreconf, only add build dependencies # # MAINTAINER: portmgr@FreeBSD.org .if !defined(_INCLUDE_USES_AUTORECONF_MK) _INCLUDE_USES_AUTORECONF_MK= yes _USES_POST+= autoreconf BUILD_DEPENDS+= autoconf-2.69:devel/autoconf \ autoheader-2.69:devel/autoconf \ autoreconf-2.69:devel/autoconf \ aclocal-1.15:devel/automake \ automake-1.15:devel/automake .if defined(libtool_ARGS) && empty(libtool_ARGS:Mbuild) BUILD_DEPENDS+= libtoolize:devel/libtool .endif AUTORECONF?= ${LOCALBASE}/bin/autoreconf +AUTORECONF_WRKSRC?= ${WRKSRC} .endif .if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_AUTORECONF_POST_MK) _INCLUDE_USES_AUTORECONF_POST_MK= yes .if ! ${autoreconf_ARGS:Mbuild} _USES_configure+= 470:do-autoreconf do-autoreconf: .for f in AUTHORS ChangeLog INSTALL NEWS README # Don't modify time stamps if the files already exist - @test -e ${CONFIGURE_WRKSRC}/${f} || ${TOUCH} ${CONFIGURE_WRKSRC}/${f} + @test -e ${AUTORECONF_WRKSRC}/${f} || ${TOUCH} ${AUTORECONF_WRKSRC}/${f} .endfor .if defined(_USE_GNOME) && ${_USE_GNOME:Mintltool} - @(cd ${CONFIGURE_WRKSRC} && \ + @(cd ${AUTORECONF_WRKSRC} && \ if test -f configure.ac; then configure=configure.ac; \ else configure=configure.in; fi && \ if ${EGREP} -q '^(AC|IT)_PROG_INTLTOOL' $${configure}; \ then ${LOCALBASE}/bin/intltoolize -f -c; fi) .endif - @(cd ${CONFIGURE_WRKSRC} && ${AUTORECONF} -f -i) + @(cd ${AUTORECONF_WRKSRC} && ${AUTORECONF} -f -i) .endif .endif Index: head/graphics/p5-ming/Makefile =================================================================== --- head/graphics/p5-ming/Makefile (revision 413184) +++ head/graphics/p5-ming/Makefile (revision 413185) @@ -1,53 +1,54 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= ming DISTVERSIONPREFIX= ${PORTNAME}- DISTVERSION= 0_4_7 CATEGORIES= graphics perl5 PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Perl module for Ming which allows you to create Flash 4/5 movies LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/../LICENSE_GPL2 LICENSE_FILE_LGPL21= ${WRKSRC}/../LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ libming.so:graphics/ming \ libpng.so:graphics/png OPTIONS_DEFINE= EXAMPLES PORTSCOUT= limit:^ming- CONFIGURE_ARGS= --enable-perl GNU_CONFIGURE= yes USES= autoreconf bison gmake libtool localbase perl5 shebangfix SHEBANG_FILES= examples/*.cgi PORTEXAMPLES= * +AUTORECONF_WRKSRC= ${CONFIGURE_WRKSRC} CONFIGURE_WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT} WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/perl_ext USE_GITHUB= yes GH_ACCOUNT= lib${PORTNAME} GH_PROJECT= lib${PORTNAME} post-patch: @${REINPLACE_CMD} -e '/ming_is_compiled()/ s|^|#|; /LIBS/d' ${WRKSRC}/Makefile.PL @${REINPLACE_CMD} -e 's|\.3pm|.3|g' ${WRKSRC}/Makefile.PL ${WRKSRC}/mkdoc @${REINPLACE_CMD} -e 's|GvCV(\(.*\)) = \(.*\);|GvCV_set(\1, \2);|' ${WRKSRC}/Exports.c post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/SWF/SWF.so post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ cd ${INSTALL_WRKSRC}/examples/ && ${INSTALL_DATA} *.cgi ${STAGEDIR}${EXAMPLESDIR}/ .include Index: head/graphics/py-ming/Makefile =================================================================== --- head/graphics/py-ming/Makefile (revision 413184) +++ head/graphics/py-ming/Makefile (revision 413185) @@ -1,47 +1,48 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= ming DISTVERSIONPREFIX= ${PORTNAME}- DISTVERSION= 0_4_7 PORTREVISION= 1 CATEGORIES= graphics python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python module for Ming which allows you to create Flash 4/5 movies LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/../LICENSE_GPL2 LICENSE_FILE_LGPL21= ${WRKSRC}/../LICENSE LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ libming.so:graphics/ming \ libpng.so:graphics/png PORTSCOUT= limit:^ming- CONFIGURE_ARGS= --enable-python CONFIGURE_ENV= PYTHON_LDFLAGS="-L${PYTHON_LIBDIR} -l${PYTHON_VERSION}${PYTHON_ABIVER}" GNU_CONFIGURE= yes USE_PYTHON= autoplist concurrent distutils USES= autoreconf libtool localbase python +AUTORECONF_WRKSRC= ${CONFIGURE_WRKSRC} CONFIGURE_WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT} WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/py_ext USE_GITHUB= yes GH_ACCOUNT= lib${PORTNAME} GH_PROJECT= lib${PORTNAME} post-patch: @${REINPLACE_CMD} -e 's| --root ".*"||' ${WRKSRC}/Makefile.am @${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' ${WRKSRC}/setup.py.in @${LN} -fs ${LOCALBASE}/include/ming ${WRKSRC}/../src post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_mingc.so .include