- adoption of optionsNG

- add trace options to ncurses{-deve}
- doc knob conversion in subversion{16}
- trim headers/comments
- eliminate some processing of bsd.port.pre.mk

Approved by:	portmgr (miwi)
This commit is contained in:
Jason Helfman 2013-05-29 04:46:28 +00:00
parent 88109113b6
commit 0129a04b17
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319339
13 changed files with 118 additions and 146 deletions

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: asdlgen # Created by: Johannes 5 Joemann <joemann@beefree.free.de>
# Date created: 5 October 2007
# Whom: Johannes 5 Joemann <joemann@beefree.free.de>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= asdlgen PORTNAME= asdlgen
PORTVERSION= 2.0.b20060323 PORTVERSION= 2.0.b20060323
@ -16,22 +12,25 @@ MAINTAINER= joemann@beefree.free.de
COMMENT= Interoperable serializers for C,C++,Haskell,Icon,Java,ML COMMENT= Interoperable serializers for C,C++,Haskell,Icon,Java,ML
BUILD_DEPENDS= smlnj-devel>=110.65:${PORTSDIR}/lang/sml-nj-devel BUILD_DEPENDS= smlnj-devel>=110.65:${PORTSDIR}/lang/sml-nj-devel
.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat
.endif
USE_DOS2UNIX= src/icon/libasdl.icn USE_DOS2UNIX= src/icon/libasdl.icn
OPTIONS= CII "Install libcii for use by generated C and C++ code" on \ OPTIONS_DEFINE= CII EXAMPLES
EXAMPLES "Install the simple 'arithexp' usage example" off CII_DESC= libcii for use by generated C and C++ code
.include <bsd.port.pre.mk> OPTIONS_DEFAULT= CII
.if defined(WITH_CII) .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCII}
RUN_DEPENDS+= libcii>=1.1:${PORTSDIR}/devel/libcii RUN_DEPENDS+= libcii>=1.1:${PORTSDIR}/devel/libcii
.endif .endif
.if defined(WITH_EXAMPLES) .if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
DEMOVERSION= 20071030 DEMOVERSION= 20071030
DEMOARCHIVE= asdlgen-demo.${DEMOVERSION}.tar.gz DEMOARCHIVE= asdlgen-demo.${DEMOVERSION}.tar.gz
DEMODIR= arithexp DEMODIR= arithexp
@ -57,7 +56,7 @@ pre-patch:
post-build: post-build:
cd ${WRKSRC}/src/sml && heap2exec asdlGen.*-bsd asdlGen cd ${WRKSRC}/src/sml && heap2exec asdlGen.*-bsd asdlGen
.if !defined(NOPORTDOCS) .if ${PORT_OPTIONS:MDOCS}
.for format in ascii html ps .for format in ascii html ps
@${MKDIR} ${WRKSRC}/doc-build/README @${MKDIR} ${WRKSRC}/doc-build/README
cd ${WRKSRC}/doc-build/README && \ cd ${WRKSRC}/doc-build/README && \
@ -73,12 +72,13 @@ do-install:
@${MKDIR} ${EXAMPLESDIR} @${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/src/asdl/tests && ${COPYTREE_SHARE} \* ${EXAMPLESDIR} cd ${WRKSRC}/src/asdl/tests && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
${INSTALL_DATA} -p ${WRKSRC}/src/asdl/std-types.asdl ${EXAMPLESDIR} ${INSTALL_DATA} -p ${WRKSRC}/src/asdl/std-types.asdl ${EXAMPLESDIR}
.if !defined(NOPORTDOCS) .if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR} @${MKDIR} ${DOCSDIR}
${INSTALL_MAN} -p ${WRKSRC}/COPYRIGHT ${DOCSDIR} ${INSTALL_MAN} -p ${WRKSRC}/COPYRIGHT ${DOCSDIR}
cd ${WRKSRC}/doc-build && ${COPYTREE_SHARE} \* ${DOCSDIR} cd ${WRKSRC}/doc-build && ${COPYTREE_SHARE} \* ${DOCSDIR}
.endif .endif
.if defined(WITH_EXAMPLES)
.if ${PORT_OPTIONS:MEXAMPLES}
cd ${WRKDIR}/${DEMODIR} && ${MAKE} clean cd ${WRKDIR}/${DEMODIR} && ${MAKE} clean
cd ${WRKDIR} && ${COPYTREE_SHARE} ${DEMODIR} ${EXAMPLESDIR} cd ${WRKDIR} && ${COPYTREE_SHARE} ${DEMODIR} ${EXAMPLESDIR}
.endif .endif
@ -98,7 +98,7 @@ BUILD_DEPENDS+= libcii>=1.1:${PORTSDIR}/devel/libcii \
# for all supported languages. The "Test" structure is defined in # for all supported languages. The "Test" structure is defined in
# ${WRKSRC}/src/sml/test/harness.sml . # ${WRKSRC}/src/sml/test/harness.sml .
test-compile: depends clean-depends build test-compile: depends clean-depends build
.if defined(WITH_CII) .if ${PORT_OPTIONS:MCII}
cd ${WRKSRC}/src/sml && export SMLNJ_DEVEL=yes && \ cd ${WRKSRC}/src/sml && export SMLNJ_DEVEL=yes && \
${ECHO_CMD} "Test.do_it ();" | sml -m sources.cm ${ECHO_CMD} "Test.do_it ();" | sml -m sources.cm
.else .else
@ -110,7 +110,7 @@ test-compile: depends clean-depends build
.ifmake test-demo .ifmake test-demo
test-demo: clean depends clean-depends build test-demo: clean depends clean-depends build
.if defined(WITH_CII) && defined(WITH_EXAMPLES) .if ${PORT_OPTIONS:MCII) && ${PORT_OPTIONS:MEXAMPLES}
cd ${WRKDIR}/${DEMODIR} && ${MAKE} ASDLGEN=${WRKSRC}/src/sml/asdlGen cd ${WRKDIR}/${DEMODIR} && ${MAKE} ASDLGEN=${WRKSRC}/src/sml/asdlGen
.else .else
@${ECHO_CMD} "You have to set the CII and EXAMPLES options" @${ECHO_CMD} "You have to set the CII and EXAMPLES options"
@ -120,4 +120,4 @@ test-demo: clean depends clean-depends build
.endif .endif
.endif .endif
.include <bsd.port.post.mk> .include <bsd.port.mk>

View file

@ -1,19 +1,15 @@
# New ports collection makefile for: avr-libc # Created by: Joerg Wunsch <joerg@freebsd.org>
# Date created: 04 Dec 2000
# Whom: Joerg Wunsch <joerg@freebsd.org>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= avr-libc PORTNAME= avr-libc
PORTVERSION= 1.8.0 PORTVERSION= 1.8.0
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= devel CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITES= SAVANNAH
MASTER_SITE_SUBDIR= ${PORTNAME} MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= joerg@FreeBSD.org MAINTAINER= joerg@FreeBSD.org
COMMENT= A C and math library for the Atmel AVR controller family COMMENT= C and math library for the Atmel AVR controller family
LICENSE= BSD LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
@ -25,18 +21,15 @@ RUN_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
avr-ld:${PORTSDIR}/devel/avr-binutils \ avr-ld:${PORTSDIR}/devel/avr-binutils \
avr-gcc:${PORTSDIR}/devel/avr-gcc avr-gcc:${PORTSDIR}/devel/avr-gcc
.if !defined(NOPORTDOCS) OPTIONS_DEFINE= DOCS
OPTIONS= AVRLIBCDOCS "Build avr-libc documents" off
.endif
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if defined(WITHOUT_AVRLIBCDOCS) || defined(NOPORTDOCS) .if ! ${PORT_OPTIONS:MDOCS}
WITHOUT_AVRLIBCDOCS= true .undef WITHOUT_AVRLIBCDOCS= true
.undef WITH_AVRLIBCDOCS
.endif .endif
.if defined(WITH_AVRLIBCDOCS) .if ${PORT_OPTIONS:MDOCS}
USE_TEX= latex:build USE_TEX= latex:build
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \
fig2dev:${PORTSDIR}/print/transfig \ fig2dev:${PORTSDIR}/print/transfig \
@ -52,7 +45,7 @@ MAKE_JOBS_SAFE= yes
CONFLICTS= avr-libc-devel-[0-9]* CONFLICTS= avr-libc-devel-[0-9]*
CONFIGURE_ENV= CC=avr-gcc PREFIX=${PREFIX} CONFIGURE_ENV= CC=avr-gcc PREFIX=${PREFIX}
.if defined(WITH_AVRLIBCDOCS) .if ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS= --build=`./config.guess` --host=avr \ CONFIGURE_ARGS= --build=`./config.guess` --host=avr \
--enable-doc --disable-versioned-doc --prefix=${PREFIX} \ --enable-doc --disable-versioned-doc --prefix=${PREFIX} \
--mandir=${PREFIX}/share/doc/avr-libc/man --mandir=${PREFIX}/share/doc/avr-libc/man
@ -69,13 +62,13 @@ CFLAGS= -O
CXXFLAGS= -O CXXFLAGS= -O
post-patch: post-patch:
.if defined(WITHOUT_AVRLIBCDOCS) .if ! ${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e '/SUBDIRS/s,examples,,' ${WRKSRC}/doc/Makefile.in ${REINPLACE_CMD} -e '/SUBDIRS/s,examples,,' ${WRKSRC}/doc/Makefile.in
.endif .endif
do-install: do-install:
${RM} -f ${TMPPLIST} ${RM} -f ${TMPPLIST}
.if defined(WITH_AVRLIBCDOCS) .if ${PORT_OPTIONS:MDOCS}
(cd ${BUILD_WRKSRC}/doc/api/avr-libc-user-manual && \ (cd ${BUILD_WRKSRC}/doc/api/avr-libc-user-manual && \
${FIND} . -type f \ ${FIND} . -type f \
\( -name '*.html' -or -name '*.css' -or \ \( -name '*.html' -or -name '*.css' -or \

View file

@ -15,9 +15,8 @@ COMMENT?= GNU GDB of newer version than comes with the system
LATEST_LINK?= gdb66 LATEST_LINK?= gdb66
.ifndef(WITH_INSIGHT) OPTIONS_DEFINE= INSIGHT
OPTIONS= INSIGHT "Build the Tcl/Tk GUI (experimental!)" off INSIGHT_DESC= Tcl/Tk GUI (experimental!)
.endif
CONFLICTS?= gdb-[7-9]* CONFLICTS?= gdb-[7-9]*
MAKE_JOBS_SAFE= yes MAKE_JOBS_SAFE= yes
@ -40,7 +39,7 @@ MAN1= gdb${VER}.1
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if defined(WITH_INSIGHT) .if ${PORT_OPTIONS:MINSIGHT}
PKGNAMESUFFIX= -insight PKGNAMESUFFIX= -insight
USE_TK= 84+ USE_TK= 84+
LIB_DEPENDS= itk:${PORTSDIR}/x11-toolkits/itk LIB_DEPENDS= itk:${PORTSDIR}/x11-toolkits/itk
@ -95,7 +94,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${PREFIX}/bin/gdb${VER} ${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${PREFIX}/bin/gdb${VER}
${LN} ${PREFIX}/bin/gdb${VER} ${PREFIX}/bin/gdbtui${VER} ${LN} ${PREFIX}/bin/gdb${VER} ${PREFIX}/bin/gdbtui${VER}
${INSTALL_MAN} ${WRKSRC}/gdb/gdb.1 ${MAN1PREFIX}/man/man1/gdb${VER}.1 ${INSTALL_MAN} ${WRKSRC}/gdb/gdb.1 ${MAN1PREFIX}/man/man1/gdb${VER}.1
.if defined(WITH_INSIGHT) .if ${PORT_OPTIONS:MINSIGHT}
${LN} ${PREFIX}/bin/gdb${VER} ${PREFIX}/bin/insight ${LN} ${PREFIX}/bin/gdb${VER} ${PREFIX}/bin/insight
${MKDIR} ${PREFIX}/share/redhat/gui ${MKDIR} ${PREFIX}/share/redhat/gui
${CP} -p ${WRKSRC}/libgui/library/*.tcl \ ${CP} -p ${WRKSRC}/libgui/library/*.tcl \

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: hs-hat # Created by: Gabor Pali <pgj@FreeBSD.org>
# Date created: February 4, 2009
# Whom: Gabor Pali <pgj@FreeBSD.org>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= hat PORTNAME= hat
PORTVERSION= 2.06 PORTVERSION= 2.06
@ -13,30 +9,26 @@ MASTER_SITES= ftp://ftp.cs.york.ac.uk/pub/haskell/${PORTNAME}/
PKGNAMEPREFIX= hs- PKGNAMEPREFIX= hs-
MAINTAINER= haskell@FreeBSD.org MAINTAINER= haskell@FreeBSD.org
COMMENT= A source-level tracer for Haskell 98 COMMENT= Source-level tracer for Haskell 98
USE_GMAKE= yes USE_GMAKE= yes
HAS_CONFIGURE= yes HAS_CONFIGURE= yes
USE_GNOME= glib12 USE_GNOME= glib12
OPTIONS= GHC "Build with GHC" off \ OPTIONS_SINGLE= SG1
NHC98 "Build with NHC98" on OPTIONS_SINGLE_SG1= GHC NHC98
GHC_DESC= GHC support
NHC98_DESC= NHC98 support
.include <bsd.port.pre.mk> OPTIONS_DEFAULT= NHC98
.if !defined(WITH_GHC) && !defined(WITH_NHC98) .include <bsd.port.options.mk>
IGNORE= cannot be compiled without a compiler. Please (re)run 'make config' and choose either GHC or NHC98
.endif
.if defined(WITH_GHC) && defined(WITH_NHC98) .if ${PORT_OPTIONS:MNHC98} && ${ARCH} == "amd64"
IGNORE= can be compiled only with one of the compilers. Please (re)run 'make config' and choose either GHC or NHC98
.endif
.if defined(WITH_NHC98) && ${ARCH} == "amd64"
IGNORE= is not supported on AMD64 by NHC98. IGNORE= is not supported on AMD64 by NHC98.
.endif .endif
.if defined(WITH_GHC) .if ${PORT_OPTIONS:MGHC}
IGNORE= is only supported by NHC98. Please (re)run 'make config' and choose NHC98 IGNORE= is only supported by NHC98. Please (re)run 'make config' and choose NHC98
.endif .endif
@ -50,37 +42,37 @@ IGNORE= is not supported on your architecture as there is no compiler for it
PLIST_SUB+= ARCH=${ARCHITECTURE} PLIST_SUB+= ARCH=${ARCHITECTURE}
.if defined(WITH_NHC98) .if ${PORT_OPTIONS:MNHC98}
BUILD_DEPENDS+= nhc98:${PORTSDIR}/lang/nhc98 BUILD_DEPENDS+= nhc98:${PORTSDIR}/lang/nhc98
RUN_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98 RUN_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98
PKGNAMESUFFIX= -nhc98 PKGNAMESUFFIX= -nhc98
.endif .endif
.if defined(WITH_GHC) .if ${PORT_OPTIONS:MGHC}
BUILD_DEPENDS+= hs-hmake>=3.0:${PORTSDIR}/devel/hs-hmake \ BUILD_DEPENDS+= hs-hmake>=3.0:${PORTSDIR}/devel/hs-hmake \
ghc:${PORTSDIR}/lang/ghc ghc:${PORTSDIR}/lang/ghc
RUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc RUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc
PKGNAMESUFFIX= -ghc PKGNAMESUFFIX= -ghc
.endif .endif
.if defined(WITH_NHC98) .if ${PORT_OPTIONS:MNHC98}
ALL_TARGET= hat-nhc ALL_TARGET= hat-nhc
ALL_TARGET+= hat-lib-nhc ALL_TARGET+= hat-lib-nhc
.endif .endif
.if defined(WITH_GHC) .if ${PORT_OPTIONS:MGHC}
ALL_TARGET= hat-ghc ALL_TARGET= hat-ghc
ALL_TARGET+= hat-lib-ghc ALL_TARGET+= hat-lib-ghc
.endif .endif
PLIST_SUB+= PORTVERSION=${PORTVERSION} PLIST_SUB+= PORTVERSION=${PORTVERSION}
.if defined(WITH_NHC98) .if ${PORT_OPTIONS:MNHC98}
PLIST_SUB+= NHC98="" PLIST_SUB+= NHC98=""
PLIST_SUB+= GHC="@comment " PLIST_SUB+= GHC="@comment "
.endif .endif
.if defined(WITH_GHC) .if ${PORT_OPTIONS:MGHC}
GHC_VERSION= 6.10.4 GHC_VERSION= 6.10.4
PLIST_SUB+= NHC98="@comment " PLIST_SUB+= NHC98="@comment "
PLIST_SUB+= GHC="" PLIST_SUB+= GHC=""
@ -90,11 +82,11 @@ PLIST_SUB+= GHC_VERSION=${GHC_VERSION}
CONFIGURE_ARGS= --prefix=${PREFIX} --libdir=${PREFIX}/lib CONFIGURE_ARGS= --prefix=${PREFIX} --libdir=${PREFIX}/lib
.if defined(WITH_NHC98) .if ${PORT_OPTIONS:MNHC98}
CONFIGURE_ARGS+= --buildwith=nhc98 CONFIGURE_ARGS+= --buildwith=nhc98
.endif .endif
.if defined(WITH_GHC) .if ${PORT_OPTIONS:MGHC}
CONFIGURE_ARGS+= --buildwith=ghc CONFIGURE_ARGS+= --buildwith=ghc
.endif .endif
@ -108,28 +100,28 @@ MAN1= black-hat.1 hat-anim.1 hat-cover.1 hat-delta.1 hat-detect.1 hat-nonterm.1
pre-everything:: pre-everything::
@${ECHO_CMD} "" @${ECHO_CMD} ""
.if defined(WITH_GHC) .if ${PORT_OPTIONS:MGHC}
@${ECHO_CMD} " HAT will be built and installed with ghc." @${ECHO_CMD} " HAT will be built and installed with ghc."
@${ECHO_CMD} " Define WITH_NHC98 to install with nhc98." @${ECHO_CMD} " Define NHC98 to install with nhc98."
.endif .endif
.if defined(WITH_NHC98) .if ${PORT_OPTIONS:MNHC98}
@${ECHO_CMD} " HAT will be built and installed with nhc98." @${ECHO_CMD} " HAT will be built and installed with nhc98."
@${ECHO_CMD} " Define WITH_GHC to install with ghc." @${ECHO_CMD} " Define GHC to install with ghc."
.endif .endif
@${ECHO_CMD} "" @${ECHO_CMD} ""
post-patch: post-patch:
.if defined(WITH_NHC98) .if ${PORT_OPTIONS:MNHC98}
@${REINPLACE_CMD} -e "s/-package containers//" ${WRKSRC}/src/tools/Makefile @${REINPLACE_CMD} -e "s/-package containers//" ${WRKSRC}/src/tools/Makefile
.endif .endif
post-install: post-install:
.if defined(WITH_GHC) .if ${PORT_OPTIONS:MGHC}
@${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old @${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
.endif .endif
@${INSTALL_DATA} ${WRKSRC}/src/lib/hat.cabal \ @${INSTALL_DATA} ${WRKSRC}/src/lib/hat.cabal \
${PREFIX}/lib/${ARCHITECTURE}-FreeBSD ${PREFIX}/lib/${ARCHITECTURE}-FreeBSD
@${RM} -rf ${PREFIX}/share/doc/hat/private @${RM} -rf ${PREFIX}/share/doc/hat/private
.include <bsd.port.post.mk> .include <bsd.port.mk>

View file

@ -1,9 +1,5 @@
# ports collection makefile for: libparserutils # Created by: David Romano <unobe@cpan.org>
# Date created: 20 August 2011
# Whom: David Romano <unobe@cpan.org>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= libparserutils PORTNAME= libparserutils
PORTVERSION= 0.1.1 PORTVERSION= 0.1.1
@ -13,7 +9,7 @@ MASTER_SITES= http://www.netsurf-browser.org/projects/releases/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= unobe@cpan.org MAINTAINER= unobe@cpan.org
COMMENT= A library useful when writing parsers (formerly a part of NetSurf) COMMENT= Library useful when writing parsers (formerly a part of NetSurf)
USE_GMAKE= yes USE_GMAKE= yes
@ -22,34 +18,32 @@ LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS= ICONV "Adds iconv support" On \ OPTIONS_DEFINE= ICONV STATIC TEST DOXYGEN
STATIC "Build statically linked library" On \ OPTIONS_DEFAULT= ICONV STATIC TEST DOXYGEN
TEST "Enable tests" On \
DOXYGEN "Build Doxygen Documentation" On
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if defined(WITH_ICONV) .if ${PORT_OPTIONS:MICONV}
CFLAGS+= -DWITH_ICONV_FILTER CFLAGS+= -DWITH_ICONV_FILTER
LDFLAGS+= -liconv LDFLAGS+= -liconv
.endif .endif
.if !defined(WITH_STATIC) .if ${PORT_OPTIONS:MSTATIC}
PLIST_SUB+= NO_STATIC="@comment " STATIC=""
.else
USE_PERL5_BUILD=yes USE_PERL5_BUILD=yes
USE_LDCONFIG= yes USE_LDCONFIG= yes
COMPONENT_TYPE= lib-shared COMPONENT_TYPE= lib-shared
MAKE_ENV+= COMPONENT_TYPE=${COMPONENT_TYPE} MAKE_ENV+= COMPONENT_TYPE=${COMPONENT_TYPE}
PLIST_SUB+= NO_STATIC="" STATIC="@comment " PLIST_SUB+= NO_STATIC="" STATIC="@comment "
.else
PLIST_SUB+= NO_STATIC="@comment " STATIC=""
.endif .endif
.if defined(WITH_TEST) .if ${PORT_OPTIONS:MTEST}
USE_PERL5_BUILD=yes USE_PERL5_BUILD=yes
ALL_TARGET+= test ALL_TARGET+= test
.endif .endif
.if defined(WITH_DOXYGEN) .if ${PORT_OPTIONS:MDOXYGEN}
DOXYGEN_PORTDIR=${PORTSDIR}/devel/doxygen DOXYGEN_PORTDIR=${PORTSDIR}/devel/doxygen
BUILD_DEPENDS+= doxygen:${DOXYGEN_PORTDIR}:build BUILD_DEPENDS+= doxygen:${DOXYGEN_PORTDIR}:build
PATH:=${PATH}:`cd ${DOXYGEN_PORTDIR}; make -V WRKSRC`/bin PATH:=${PATH}:`cd ${DOXYGEN_PORTDIR}; make -V WRKSRC`/bin

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: msp430-libc # Created by: Lev Serebryakov <lev@serebryakov.spb.ru>
# Date created: 15 October 2002
# Whom: Lev Serebryakov <lev@serebryakov.spb.ru>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= libc PORTNAME= libc
PORTVERSION= 1.0.${LIBCVERSION} PORTVERSION= 1.0.${LIBCVERSION}
@ -29,8 +25,12 @@ RUN_DEPENDS= ${LOCALBASE}/${LIBCTARGET}/include/${LIBCTARGET}.h:${PORTSDIR}/deve
CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-gcc${OTHERGCCVERSION}-[0-9]* CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-gcc${OTHERGCCVERSION}-[0-9]*
OPTIONS= GCC4 "Use new msp430-gcc4 compiler" on \ OPTIONS_SINGLE= SG1
GCC3 "Use old msp430-gcc3 compiler" off OPTIONS_SINGLE_SG1= GCC4 GCC3
GCC4_DESC= Use new msp430-gcc4 compiler
GCC3_DESC= Use old msp430-gcc3 compiler
OPTIONS_DEFAULT= GCC4
LIBCTARGET= msp430 LIBCTARGET= msp430
LIBCVERSION= 20120224 LIBCVERSION= 20120224
@ -46,22 +46,17 @@ PATCH_WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}libc-${LIBCVERSION}
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if defined(WITH_GCC4) .if ${PORT_OPTIONS:MGCC4}
.if defined(WITH_GCC3)
BROKEN= Please, select msp430-gcc-4 or msp430-gcc-3, not both
.endif
BUILD_DEPENDS+= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc BUILD_DEPENDS+= ${PKGNAMEPREFIX}gcc:${PORTSDIR}/devel/${PKGNAMEPREFIX}gcc
PLIST_SUB+= GCC3="@comment " GCC4="" PLIST_SUB+= GCC3="@comment " GCC4=""
NEEDGCCVERSION= 4 NEEDGCCVERSION= 4
PORTGCCVERSION= PORTGCCVERSION=
OTHEGCCVERSION= 3 OTHEGCCVERSION= 3
.elif defined(WITH_GCC3) .elif ${PORT_OPTIONS:MGCC3}
PLIST_SUB+= GCC3="" GCC4="@comment " PLIST_SUB+= GCC3="" GCC4="@comment "
NEEDGCCVERSION= 3 NEEDGCCVERSION= 3
PORTGCCVERSION= ${NEEDGCCVERSION} PORTGCCVERSION= ${NEEDGCCVERSION}
OTHEGCCVERSION= 4 OTHEGCCVERSION= 4
.else
BROKEN= Please, select msp430-gcc-4 either msp430-gcc-3
.endif .endif
pre-configure: pre-configure:

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: ncurses-devel # Created by: Rong-En Fan <rafan@FreeBSD.org>
# Date created: Jan 28 2006
# Whom: Rong-En Fan <rafan@FreeBSD.org>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= ncurses PORTNAME= ncurses
PORTVERSION= ${RELEASE}.${PATCHDATE} PORTVERSION= ${RELEASE}.${PATCHDATE}
@ -46,7 +42,9 @@ CONFIGURE_ARGS= --datadir=${PREFIX}/share/misc --disable-overwrite \
--with-manpage-format=gzip --srcdir=../ --with-manpage-format=gzip --srcdir=../
MAKE_JOBS_UNSAFE= yes MAKE_JOBS_UNSAFE= yes
OPTIONS= EXTCOLORS "Enable 256-color support (only for ncursesw)" off OPTIONS_DEFINE= EXTCOLORS TRACE
EXTCOLORS_DESC= 256-color support (only for ncursesw)
TRACE_DESC= Add trace() function to all models of ncurses
CONFIGURE_ENV= gnat_exists="no" CONFIGURE_ENV= gnat_exists="no"
@ -98,14 +96,14 @@ EXAMPLES_CPP= Makefile NEWS PROBLEMS README-first cursesapp.cc \
.include "${.CURDIR}/Makefile.man" .include "${.CURDIR}/Makefile.man"
CONFIGURE_ARGS_WIDEC=--enable-widec CONFIGURE_ARGS_WIDEC=--enable-widec
.if defined(WITH_EXTCOLORS) .if ${PORT_OPTIONS:MEXTCOLORS}
CONFIGURE_ARGS_WIDEC+=--enable-ext-colors CONFIGURE_ARGS_WIDEC+=--enable-ext-colors
NCURSESW_ABI_VER= 6 NCURSESW_ABI_VER= 6
NCURSESW_REL_VER= 6.0 NCURSESW_REL_VER= 6.0
.endif .endif
# needed by devel/py-ncurses port # needed by devel/py-ncurses port
.if defined(WITH_TRACE) .if ${PORT_OPTIONS:MTRACE}
CONFIGURE_ARGS+= --with-trace CONFIGURE_ARGS+= --with-trace
.endif .endif
@ -173,7 +171,7 @@ post-install:
${MAKE} ${.MAKEFLAGS} INSTALL_WRKSRC=${WIDEC_WRKSRC} do-install ${MAKE} ${.MAKEFLAGS} INSTALL_WRKSRC=${WIDEC_WRKSRC} do-install
.endif .endif
.if !defined(NOPORTEXAMPLES) .if ${PORT_OPTIONS:MEXAMPLES}
. for i in ${EXAMPLES_TARGETS} . for i in ${EXAMPLES_TARGETS}
${MKDIR} ${${i}_EXAMPLESDIR}/c++ ${MKDIR} ${${i}_EXAMPLESDIR}/c++
. for f in ${EXAMPLES} . for f in ${EXAMPLES}
@ -190,7 +188,7 @@ post-install:
${FIND} ${PREFIX}/share/misc -name "*.terminfo" -exec ${PREFIX}/bin/tic {} \; ${FIND} ${PREFIX}/share/misc -name "*.terminfo" -exec ${PREFIX}/bin/tic {} \;
.endif .endif
.if !defined(NOPORTDOCS) .if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR} ${MKDIR} ${DOCSDIR}
. for f in ${DOCS} . for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: ncurses # Created by: Andrey Zakhvatov
# Date created: 23 September 1997
# Whom: Andrey Zakhvatov
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= ncurses PORTNAME= ncurses
PORTVERSION= ${RELEASE} PORTVERSION= ${RELEASE}
@ -33,7 +29,9 @@ CONFIGURE_ARGS= --datadir=${PREFIX}/share/misc --disable-overwrite \
--with-manpage-format=gzip --srcdir=../ --with-manpage-format=gzip --srcdir=../
MAKE_JOBS_UNSAFE= yes MAKE_JOBS_UNSAFE= yes
OPTIONS= EXTCOLORS "Enable 256-color support (only for ncursesw)" off OPTIONS_DEFINE= EXTCOLORS TRACE DEBUG
EXTCOLORS_DESC= 256-color support (only for ncursesw)
TRACE_DESC= Add trace() function to all models of ncurses
CONFIGURE_ENV= gnat_exists="no" CONFIGURE_ENV= gnat_exists="no"
@ -80,19 +78,19 @@ EXAMPLES_CPP= Makefile NEWS PROBLEMS README-first cursesapp.cc \
cursesw.h cursslk.cc cursslk.h demo.cc etip.h \ cursesw.h cursslk.cc cursslk.h demo.cc etip.h \
internal.h internal.h
.include <bsd.port.pre.mk> .include <bsd.port.options.mk>
.include "${.CURDIR}/Makefile.man" .include "${.CURDIR}/Makefile.man"
CONFIGURE_ARGS_WIDEC=--enable-widec CONFIGURE_ARGS_WIDEC=--enable-widec
.if defined(WITH_EXTCOLORS) .if ${PORT_OPTIONS:MEXTCOLORS}
CONFIGURE_ARGS_WIDEC+=--enable-ext-colors CONFIGURE_ARGS_WIDEC+=--enable-ext-colors
NCURSESW_ABI_VER= 6 NCURSESW_ABI_VER= 6
NCURSESW_REL_VER= 6.0 NCURSESW_REL_VER= 6.0
.endif .endif
# needed by devel/py-ncurses port # needed by devel/py-ncurses port
.if defined(WITH_TRACE) .if ${PORT_OPTIONS:MTRACE}
CONFIGURE_ARGS+= --with-trace CONFIGURE_ARGS+= --with-trace
.endif .endif
@ -104,7 +102,7 @@ CONFIGURE_ARGS+=--without-profile
PLIST_SUB+= PROFILE="@comment " PLIST_SUB+= PROFILE="@comment "
.endif .endif
.if !defined(WITH_DEBUG) .if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+=--without-debug CONFIGURE_ARGS+=--without-debug
PLIST_SUB+= DEBUG="@comment " PLIST_SUB+= DEBUG="@comment "
.else .else
@ -160,7 +158,7 @@ post-install:
${MAKE} ${.MAKEFLAGS} INSTALL_WRKSRC=${WIDEC_WRKSRC} do-install ${MAKE} ${.MAKEFLAGS} INSTALL_WRKSRC=${WIDEC_WRKSRC} do-install
.endif .endif
.if !defined(NOPORTEXAMPLES) .if ${PORT_OPTIONS:MEXAMPLES}
. for i in ${EXAMPLES_TARGETS} . for i in ${EXAMPLES_TARGETS}
${MKDIR} ${${i}_EXAMPLESDIR}/c++ ${MKDIR} ${${i}_EXAMPLESDIR}/c++
. for f in ${EXAMPLES} . for f in ${EXAMPLES}
@ -177,11 +175,11 @@ post-install:
${FIND} ${PREFIX}/share/misc -name "*.terminfo" -exec ${PREFIX}/bin/tic {} \; ${FIND} ${PREFIX}/share/misc -name "*.terminfo" -exec ${PREFIX}/bin/tic {} \;
.endif .endif
.if !defined(NOPORTDOCS) .if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR} ${MKDIR} ${DOCSDIR}
. for f in ${DOCS} . for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
. endfor . endfor
.endif .endif
.include <bsd.port.post.mk> .include <bsd.port.mk>

View file

@ -27,28 +27,32 @@ MAN3= Event::RPC.3 \
Event::RPC::Message.3 \ Event::RPC::Message.3 \
Event::RPC::Server.3 Event::RPC::Server.3
OPTIONS= GLIB "Register dependency to Glib event handler" off \ OPTIONS_DEFINE= GLIB EVENT ANYEVENT SSL
EVENT "Register dependency to Event.pm event handler" on \ GLIB_DESC= Dependency to Glib event handler
ANYEVENT "Register dependency to AnyEvent event handler" on \ EVENT_DESC= Dependency to Event.pm event handler
SSL "Register dependency to SSL lib" on ANYEVENT_DESC= Dependency to AnyEvent event handler
SSL_DESC= Dependency to SSL lib
OPTIONS_DEFAULT= EVENT ANYEVENT SSL
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
BUILD_DEPENDS= p5-Storable>=0:${PORTSDIR}/devel/p5-Storable BUILD_DEPENDS= p5-Storable>=0:${PORTSDIR}/devel/p5-Storable
.if !defined(WITHOUT_EVENT) .if ${PORT_OPTIONS:MEVENT}
BUILD_DEPENDS+= p5-Event>=0:${PORTSDIR}/devel/p5-Event BUILD_DEPENDS+= p5-Event>=0:${PORTSDIR}/devel/p5-Event
.endif .endif
.if defined(WITH_ANYEVENT) .if ${PORT_OPTIONS:MANYEVENT}
BUILD_DEPENDS+= p5-AnyEvent>=0:${PORTSDIR}/devel/p5-AnyEvent BUILD_DEPENDS+= p5-AnyEvent>=0:${PORTSDIR}/devel/p5-AnyEvent
.endif .endif
.if defined(WITH_GLIB) .if ${PORT_OPTIONS:MGLIB}
BUILD_DEPENDS+= p5-Glib2>=0:${PORTSDIR}/devel/p5-Glib2 BUILD_DEPENDS+= p5-Glib2>=0:${PORTSDIR}/devel/p5-Glib2
.endif .endif
.if !defined(WITHOUT_SSL) .if ${PORT_OPTIONS:MSSL}
# we can't use USE_OPENSSL=yes after including bsd.port.pre.mk # we can't use USE_OPENSSL=yes after including bsd.port.pre.mk
.include "${PORTSDIR}/Mk/bsd.openssl.mk" .include "${PORTSDIR}/Mk/bsd.openssl.mk"
BUILD_DEPENDS+= p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL BUILD_DEPENDS+= p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: py-Products.LDAPUserFolder # Created by: Lawrence Stewart <lstewart@FreeBSD.org>
# Date created: 20 May 2012
# Whom: Lawrence Stewart <lstewart@freebsd.org>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= Products.LDAPUserFolder PORTNAME= Products.LDAPUserFolder
PORTVERSION= 2.23 PORTVERSION= 2.23
@ -13,14 +9,17 @@ MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= zope@FreeBSD.org MAINTAINER= zope@FreeBSD.org
COMMENT= A LDAP-enabled Zope 2 user folder COMMENT= LDAP-enabled Zope 2 user folder
LICENSE= ZPL21 LICENSE= ZPL21
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-git>=0.4.2:${PORTSDIR}/devel/py-setuptools-git BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-git>=0.4.2:${PORTSDIR}/devel/py-setuptools-git
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ldap2>=2.0.6:${PORTSDIR}/net/py-ldap2 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ldap2>=2.0.6:${PORTSDIR}/net/py-ldap2
OPTIONS= POSIXGROUP_PATCH "Use posixGroup for group membership" On OPTIONS_DEFINE= POSIXGROUP_PATCH
POSIXGROUP_PATCH_DESC= Use posixGroup for group membership
OPTIONS_DEFAULT= POSIXGROUP_PATCH
DIST_SUBDIR= zope DIST_SUBDIR= zope
USE_PYTHON= -2.7 USE_PYTHON= -2.7
@ -29,7 +28,7 @@ USE_PYDISTUTILS= easy_install
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if defined(WITH_POSIXGROUP_PATCH) .if ${PORT_OPTIONS:MPOSIXGROUP_PATCH}
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-posixgroup EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-posixgroup
.endif .endif

View file

@ -11,7 +11,7 @@ COMMENT= Dynamic Scripting for adaptive AI systems
USE_PYTHON= yes USE_PYTHON= yes
USE_PYDISTUTILS=yes USE_PYDISTUTILS=yes
OPTIONS= DOCS OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk> .include <bsd.port.options.mk>

View file

@ -94,7 +94,7 @@ PLIST_SUB+= SVNMUCC=""
PLIST_SUB+= SVNMUCC="@comment " PLIST_SUB+= SVNMUCC="@comment "
.endif .endif
.if !defined(NOPORTDOCS) && ${PORT_OPTIONS:MBOOK} .if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MBOOK}
BOOK_HTML= svn-book-html-r${BOOK_VERSION}.tar.bz2 BOOK_HTML= svn-book-html-r${BOOK_VERSION}.tar.bz2
BOOK_PDF= svn-book-r${BOOK_VERSION}.pdf BOOK_PDF= svn-book-r${BOOK_VERSION}.pdf
DISTFILES+= ${BOOK_HTML}:book ${BOOK_PDF}:book DISTFILES+= ${BOOK_HTML}:book ${BOOK_PDF}:book

View file

@ -236,7 +236,7 @@ post-install: ${MKREPOS_TARGET}
cd ${WRKSRC}/tools ; \ cd ${WRKSRC}/tools ; \
${TAR} --exclude '*.in' -cf - * | ${TAR} -C ${DATADIR} -xf - ${TAR} --exclude '*.in' -cf - * | ${TAR} -C ${DATADIR} -xf -
@${CHMOD} -R a-st,o+rX ${DATADIR} @${CHMOD} -R a-st,o+rX ${DATADIR}
.if !defined(NOPORTDOCS) .if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR} ${MKDIR} ${DOCSDIR}
for f in ${TXT_DOCS}; do \ for f in ${TXT_DOCS}; do \
${INSTALL_MAN} ${WRKSRC}/$$f ${DOCSDIR}; \ ${INSTALL_MAN} ${WRKSRC}/$$f ${DOCSDIR}; \