1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Use USE_GETOPT_LONG.

PR:		51387, 51383, 51380, 51388, 51384, 51372, 51373,
		51381, 51382
Submitted by:	Ports Fury
This commit is contained in:
Pete Fritchman 2003-05-18 16:03:16 +00:00
parent c9a0322c42
commit a7ebc6b6af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81255
10 changed files with 11 additions and 58 deletions

View File

@ -14,17 +14,11 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A tool for measuring webserver performance
USE_OPENSSL= yes
USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= httperf.1
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}

View File

@ -21,6 +21,7 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
CONFIGURE_WRKSRC= ${WRKSRC}/mixkit/build
BUILD_WRKSRC= ${WRKSRC}/mixkit/src
USE_GETOPT_LONG= yes
USE_MESA= yes
USE_REINPLACE= yes
USE_GMAKE= yes
@ -38,11 +39,6 @@ LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
CFLAGS+= -DMIX_ANSI_IOSTREAMS -fpermissive
.endif
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
LDFLAGS+= -lgnugetopt
.endif
post-extract:
@${RM} -f ${WRKSRC}/mixkit/src/getopt.h

View File

@ -21,6 +21,7 @@ LIB_DEPENDS= vorbis.2:${PORTSDIR}/audio/libvorbis \
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GNOME= glib12
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
USE_LIBTOOL= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@ -31,11 +32,6 @@ MAN1= qtconv.1 qtsg.1 qtsplit.1
CPPFLAGS= -I${LOCALBASE}/include `${GLIB_CONFIG} --cflags gthread`
LDFLAGS= -L${LOCALBASE}/lib `${GLIB_CONFIG} --libs gthread`
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
LDFLAGS+= -lgnugetopt
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-g -Wall|@CFLAGS@|g ; \
s|-lglib||g ; \

View File

@ -14,15 +14,9 @@ MASTER_SITES= http://it.geocities.com/andreamolteni/prog/goldstr/
MAINTAINER= ports@FreeBSD.org
COMMENT= Compute the golden string
USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= goldstr.1
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt
.endif
.include <bsd.port.mk>

View File

@ -17,6 +17,7 @@ COMMENT= A simple video encoder
LIB_DEPENDS= fame-0.9.0:${PORTSDIR}/multimedia/libfame
USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@ -25,9 +26,4 @@ MAN1= recmpeg.1
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
LDFLAGS+= -lgnugetopt
.endif
.include <bsd.port.mk>

View File

@ -24,6 +24,7 @@ LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
GUILE_CONFIG?= ${LOCALBASE}/bin/guile-config
USE_GETOPT_LONG= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
@ -35,10 +36,4 @@ MAN1= serveez.1
CPPFLAGS= `${GUILE_CONFIG} compile`
LDFLAGS= `${GUILE_CONFIG} link`
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt
.endif
.include <bsd.port.mk>

View File

@ -17,6 +17,7 @@ COMMENT= A DVI to text/plain translator
BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX
USE_GETOPT_LONG= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@ -28,11 +29,6 @@ MAN1= catdvi.1
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
LDFLAGS+= -lgnugetopt
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/catdvi ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/catdvi.1 ${MANPREFIX}/man/man1

View File

@ -17,16 +17,12 @@ COMMENT= Convert PNM images to PPA for some HP printers
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu \
enscript:${PORTSDIR}/print/enscript-letter
USE_GETOPT_LONG= yes
MAKE_ENV= LDFLAGS="${LDFLAGS}"
CFLAGS+= ${CPPFLAGS}
MAN1= pnm2ppa.1
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt
.endif
post-patch:
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
${WRKSRC}/pnm2ppa.conf > ${WRKSRC}/pnm2ppa.conf.sample

View File

@ -16,6 +16,7 @@ COMMENT= Commandline client for DAV
LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2 \
neon.23:${PORTSDIR}/www/neon
USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@ -28,11 +29,6 @@ MAN1= cadaver.1
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
LDFLAGS+= -lgnugetopt
.endif
.if !defined(WITHOUT_OPENSSL)
USE_OPENSSL= yes
CONFIGURE_ARGS+= --with-ssl --with-force-ssl

View File

@ -14,17 +14,11 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A tool for measuring webserver performance
USE_OPENSSL= yes
USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= httperf.1
.if !exists(/usr/include/getopt.h)
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}