Standardize all user defined options to the booleans WITH_FOO and

WITHOUT_FOO.  Begin the process of reserving these prefixes for user defined
options.

No comment by:	ports
This commit is contained in:
Jeremy Lea 2000-04-17 00:18:05 +00:00
parent d12f14432c
commit 877b8a533b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27679
115 changed files with 702 additions and 852 deletions

View file

@ -41,7 +41,7 @@ post-fetch:
pre-configure:
@${ECHO_MSG} "To install unrar bundled with this package,"
@${ECHO_MSG} "set variable WITH_UNRAR=YES."
@${ECHO_MSG} "set variable WITH_UNRAR=yes."
do-install:
@${MKDIR} ${PREFIX}/share/doc/rar ${PREFIX}/share/rar

View file

@ -27,37 +27,37 @@ MAN1= xplanet.1 xplanetbg.1
.include <bsd.port.pre.mk>
.if (!defined(USE_TK80) && !defined(USE_TK81) && !defined(USE_TK82) && !defined(USE_TK83))
.if (!defined(WITH_TK80) && !defined(WITH_TK81) && !defined(WITH_TK82) && !defined(WITH_TK83))
.if exists(${LOCALBASE}/bin/wish8.3)
USE_TK83= yes
WITH_TK83= yes
.elif exists(${LOCALBASE}/bin/wish8.2)
USE_TK82= yes
WITH_TK82= yes
.elif exists(${LOCALBASE}/bin/wish8.1)
USE_TK81= yes
WITH_TK81= yes
.else
USE_TK80= yes
WITH_TK80= yes
.endif
.endif
.if defined(USE_TK80)
.if defined(WITH_TK80)
RUN_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80
WISH= ${LOCALBASE}/bin/wish8.0
TKVERMSG= "Using Tk 8.0"
.endif
.if defined(USE_TK81)
.if defined(WITH_TK81)
RUN_DEPENDS= wish8.1:${PORTSDIR}/x11-toolkits/tk81
WISH= ${LOCALBASE}/bin/wish8.1
TKVERMSG= "Using Tk 8.1"
.endif
.if defined(USE_TK82)
.if defined(WITH_TK82)
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
WISH= ${LOCALBASE}/bin/wish8.2
TKVERMSG= "Using Tk 8.2"
.endif
.if defined(USE_TK83)
.if defined(WITH_TK83)
RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83
WISH= ${LOCALBASE}/bin/wish8.3
TKVERMSG= "Using Tk 8.3"
@ -67,7 +67,7 @@ CONFIGURE_ENV+= WISH=${WISH}
pre-fetch:
@${ECHO} ${TKVERMSG}
@${ECHO} "Define USE_TK80, USE_TK81, USE_TK82, or USE_Tk83"
@${ECHO} "Define WITH_TK80, WITH_TK81, WITH_TK82, or WITH_TK83"
@${ECHO} "To use a different version of TK"
pre-configure:

View file

@ -17,7 +17,7 @@ MASTER_SITE_SUBDIR= apps/sound/mixers
MAINTAINER= cpiazza@FreeBSD.org
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
.if !defined(NO_X11)
.if !defined(WITHOUT_X11)
LIB_DEPENDS+= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
GLIB_CONFIG= ${LOCALBASE}/bin/glib12-config
@ -35,12 +35,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GLIB_CONFIG="${GLIB_CONFIG}" \
GTK_CONFIG="${GTK_CONFIG}" \
LDFLAGS="-L${LOCALBASE}/lib"
.if defined(NO_X11)
.if defined(WITHOUT_X11)
CONFIGURE_ARGS+= --without-gtk
.else
pre-fetch:
@${ECHO_MSG} -n "To build this port without X11 (and without the GUI),"
@${ECHO_MSG} " define \"NO_X11\"."
@${ECHO_MSG} " define \"WITHOUT_X11\"."
.endif
.include <bsd.port.mk>

View file

@ -4,10 +4,6 @@
#
# $FreeBSD$
#
# If you don't want to use Joerg Schilling's SCSI library,
# set DONT_USE_SCGLIB = yes
# If you don't want to use pthreads, set DONT_USE_PTHREADS = yes
# If you want the graphical X toc file editor, set XCDRDAO = yes
PORTNAME= cdrdao
PORTVERSION= 1.1.3
@ -45,18 +41,21 @@ PLIST=${PKGDIR}/PLIST.xcdrdao
CONFIGURE_ARGS= --disable-gtkmmtest
.endif
.if defined(DONT_USE_SCGLIB) && ${OSVERSION} > 300000
.if defined(WITHOUT_SCGLIB) && ${OSVERSION} > 300000
CONFIGURE_ARGS+= --without-scglib
.endif
.if defined(DONT_USE_PTHREADS) && ${OSVERSION} > 320000
.if defined(WITHOUT_PTHREADS) && ${OSVERSION} > 320000
CONFIGURE_ARGS+= --without-posix-threads
.endif
pre-fetch:
@${ECHO_MSG} "If you don't want to use Joerg Schilling's SCSI library,"
@${ECHO_MSG} "set WITHOUT_SCGLIB=yes."
@${ECHO_MSG} "If you don't want to use pthreads, set WITHOUT_PTHREADS=yes."
.if !defined(XCDRDAO)
@${ECHO_MSG} "To build the graphical X toc file editor, xcdrdao, type:"
@${ECHO_MSG} " make XCDRDAO=yes"
@${ECHO_MSG} " make XCDRDAO=yes."
.else
@${ECHO_MSG} "Building with xcdrdao"
.endif

View file

@ -16,7 +16,7 @@ PATCHFILES= lame3.51.patch.gz
MAINTAINER= yoshiaki@kt.rim.or.jp
.if !defined(NO_X11)
.if !defined(WITHOUT_X11)
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
.endif
@ -24,7 +24,7 @@ PATCH_DIST_STRIP = -p1
WRKSRC= ${WRKDIR}/dist10/lsf/encoder/
USE_GMAKE= YES
MAKE_ENV= NO_X11=${NO_X11}
MAKE_ENV= WITHOUT_X11=${WITHOUT_X11}
ALL_TARGET= lame
RESTRICTED= Condition is not clear

View file

@ -13,7 +13,7 @@
##########################################################################
ifeq ($(UNAME),FreeBSD)
# remove if you do not have GTK or do not want the GTK frame analyzer
+ifndef NO_X11
+ifndef WITHOUT_X11
GTK = -DHAVEGTK `gtk12-config --cflags`
GTKLIBS = `gtk12-config --libs`
+endif

View file

@ -26,15 +26,15 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
.if defined(USE_I18N)
.if defined(WITH_I18N)
CONFIGURE_ARGS+= --enable-i18n=JAPANESE
.endif
pre-configure:
.if !defined(USE_I18N)
.if !defined(WITH_I18N)
@${ECHO_MSG}
@${ECHO_MSG} "If you would like build replay with I18N support"
@${ECHO_MSG} "you must set the variable USE_I18N"
@${ECHO_MSG} "you must set the variable WITH_I18N"
@${ECHO_MSG} "(Now JAPANESE only)"
@${ECHO_MSG}
.else

View file

@ -18,7 +18,7 @@ MLINKS= play.1 rec.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-fast-ulaw --enable-fast-alaw --with-oss-dsp
.if defined(USE_GSM)
.if defined(WITH_GSM)
CONFIGURE_ARGS+= --with-gsmlib=${PREFIX}/lib --with-gsminc=${PREFIX}/include
LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm
.endif

View file

@ -13,12 +13,12 @@ DISTNAME= TiMidity++-${PORTVERSION}
MAINTAINER= yatt@msc.biglobe.ne.jp
# If you don't have X11, type "make -DNO_X11" or uncomment this.
#NO_X11= yes
# If you don't have X11, type "make -DWITHOUT_X11" or uncomment this.
#WITHOUT_X11= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
.if !defined(NO_X11)
.if !defined(WITHOUT_X11)
USE_XLIB= yes
LIB_DEPENDS+= png.3:${PORTSDIR}/graphics/png
.endif
@ -26,7 +26,7 @@ LIB_DEPENDS+= png.3:${PORTSDIR}/graphics/png
DIST_SUBDIR= timidity
INSTALL_TARGET= install install.man
.if !defined(NO_X11)
.if !defined(WITHOUT_X11)
CONFIGURE_ARGS= --with-x --enable-ncurses --enable-vt100 \
--enable-dynamic --enable-server \
--enable-network --enable-spectrogram --enable-wrd
@ -35,7 +35,7 @@ CONFIGURE_ARGS= --enable-ncurses --enable-vt100 \
--enable-network --disable-spectrogram --disable-wrd
.endif
.if defined(USE_ESOUND)
.if defined(WITH_ESOUND)
LIB_DEPENDS+= esd.2:${PORTSDIR}/audio/esound
CONFIGURE_ARGS+= --enable-audio=oss,esd
.else

View file

@ -26,12 +26,12 @@ PATCH_ARGS =-p0 -d ${WRKDIR}
.include <bsd.port.pre.mk>
.if !defined(USE_RADIOTRACK)
.if !defined(WITH_RADIOTRACK)
WMTUNE_DIFF= wmtune.diff.gz
pre-fetch:
@${ECHO}
@${ECHO} "To enable support for RadioTrack radio cards,"
@${ECHO} "define USE_RADIOTRACK (make USE_RADIOTRACK=yes)."
@${ECHO} "define WITH_RADIOTRACK (make WITH_RADIOTRACK=yes)."
@${ECHO}
@sleep 3
.else

View file

@ -21,7 +21,7 @@ NO_WRKSUBDIR= yes
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
.if defined(HAVE_MOTIF) && !defined(PACKAGE_BUILDING)
MAKEFILE= Makefile.XMotif
.elif defined(WITH_X) && (${WITH_X} == NO || ${WITH_X} == no)
.elif defined(WITHOUT_X11)
MAKEFILE= Makefile.NoX
.else
USE_XLIB= yes

View file

@ -28,7 +28,6 @@ HAS_CONFIGURE= yes
XEMACS_ARCH= ${MACHINE_ARCH}--freebsd
CONFIGURE_ARGS= ${XEMACS_ARCH} --prefix=${PREFIX} \
--with-mule \
${WITH_XIM} \
--with-xfs \
--with-clash-detection \
--lockdir=/var/run/emacs/lock \
@ -36,20 +35,16 @@ CONFIGURE_ARGS= ${XEMACS_ARCH} --prefix=${PREFIX} \
--site-includes=${PREFIX}/include \
--site-libraries=${PREFIX}/lib \
--sitelispdir="${PREFIX}/lib/xemacs/site-lisp ${PREFIX}/share/emacs/site-lisp" \
--with-session=yes \
${WITH_MENUBARS} ${WITH_DIALOGS} \
${WITH_XFACE} ${WITH_OFFIX}
--with-session=yes
MAN1= ctags.1 etags.1 gnuattach.1 gnuclient.1 gnudoit.1 \
gnuserv.1 xemacs.1
ALL_TARGET= all dist
PLIST_SUB= XEMACS_VER=20.4 XEMACS_ARCH=${XEMACS_ARCH}
.if defined(REAL_MOTIF)
WITH_MENUBARS= --with-menubars=lucid
WITH_XIM= --with-xim=motif
CONFIGURE_ARGS+= --with-menubars=lucid --with-xim=motif
.else
WITH_MENUBARS= --with-menubars=lucid
WITH_XIM= --with-xim=xlib
CONFIGURE_ARGS+= --with-menubars=lucid --with-xim=xlib
.endif
# Have
@ -69,14 +64,13 @@ pre-configure:
# hack to avoid shipping binaries linked with Motif
.if defined(MOTIF_STATIC)
WITH_DIALOGS= --with-dialogs=athena
CONFIGURE_ARGS+= --with-dialogs=athena
.endif
# Drop faces (libcompface) and offix (libDnd) if building package,
# autodetect otherwise
.if defined(PACKAGE_BUILDING)
WITH_XFACE?= --with-xface=no
WITH_OFFIX?= --with-offix=no
CONFIGURE_ARGS+= --with-xface=no --with-offix=no
.endif
post-install:

View file

@ -14,34 +14,34 @@ MAINTAINER= domi@saargate.de
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
.if defined(PACKAGE_BUILDING) && !defined(USE_MYSQL) && !defined(USE_PGSQL)
USE_MYSQL= yes
.if defined(PACKAGE_BUILDING) && !defined(WITH_MYSQL) && !defined(WITH_PGSQL)
WITH_MYSQL= yes
.endif
.if defined(USE_MYSQL)
.if defined(WITH_MYSQL)
LIB_DEPENDS += mysqlclient.6:${PORTSDIR}/databases/mysql322-client
.endif
.if defined(USE_PGSQL)
.if defined(WITH_PGSQL)
LIB_DEPENDS += pq.2:${PORTSDIR}/databases/postgresql
.endif
USE_X_PREFIX= yes
pre-patch:
.if !defined(USE_MYSQL) && !defined(USE_PGSQL)
.if !defined(WITH_MYSQL) && !defined(WITH_PGSQL)
@ ${ECHO} "You must specify which database to use, possible are:"
@ ${ECHO}
@ ${ECHO} "make USE_MYSQL=yes (for MySQL support)"
@ ${ECHO} "make USE_PGSQL=yes (for PostgreSQL support)"
@ ${ECHO} "make USE_MYSQL=yes USE_PGSQL=yes (for both MySQL and PostgreSQL support)"
@ ${ECHO} "make WITH_MYSQL=yes (for MySQL support)"
@ ${ECHO} "make WITH_PGSQL=yes (for PostgreSQL support)"
@ ${ECHO} "make WITH_MYSQL=yes WITH_PGSQL=yes (for both MySQL and PostgreSQL support)"
@ ${FALSE}
.endif
do-configure:
.if defined(USE_MYSQL)
.if defined(WITH_MYSQL)
@ ${PERL} -i -pe "s/^#MYSQL/MYSQL/g" ${WRKDIR}/${DISTNAME}/Makefile
.endif
.if defined(USE_PGSQL)
.if defined(WITH_PGSQL)
@ ${PERL} -i -pe "s/^#PGSQL/PGSQL/g" ${WRKDIR}/${DISTNAME}/Makefile
.endif

View file

@ -23,18 +23,19 @@ BROKEN= doesn\'t build on the alpha yet
Y2K= http://www.postgresql.org/y2k.html
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make USE_TCL=yes
.if defined(USE_TCL)
# postgresql with tcl support by typing: make WITH_TCL=yes
.if defined(WITH_TCL)
TCL_INCDIR= ${LOCALBASE}/include/tcl8.0
TK_INCDIR= ${LOCALBASE}/include/tk8.0
MAKE_ENV= USE_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 tk80.1:${PORTSDIR}/x11-toolkits/tk80
WITH_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
MAKE_ENV= WITH_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
tk80.1:${PORTSDIR}/x11-toolkits/tk80
CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
.endif
# if you want jdbc, type make USE_JDBC=yes
# if you want jdbc, type make WITH_JDBC=yes
# Honors JAVA_HOME if you have it set, and don't want the dependency.
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
JAVA_HOME?= ${LOCALBASE}/jdk1.1.8
BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk
#MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
@ -50,7 +51,8 @@ HAS_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" ${WITH_TCL} \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
${CONFIGURE_TCL} \
--with-libraries=${PREFIX}/lib
INSTALL_TARGET= install install-man
@ -79,22 +81,20 @@ MANPREFIX= ${PREFIX}/pgsql
pre-fetch:
@${ECHO_MSG} "To install and run postgresql you need to compile kernel with:"
@${ECHO_MSG} " options \"SYSVSHM, SYSVSEM, SYSVMSG\""
.if !defined(USE_TCL)
.if !defined(WITH_TCL)
@${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
@${ECHO_MSG} " make USE_TCL=yes"
@${ECHO_MSG} " make WITH_TCL=yes"
.else
@${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
.endif
.if !defined(USE_JDBC)
.if !defined(WITH_JDBC)
@ ${ECHO_MSG} "To build Java (JDBC) support, type:"
@ ${ECHO_MSG} " make USE_JDBC=yes"
@ ${ECHO_MSG} " make WITH_JDBC=yes"
.else
@ ${ECHO_MSG} "Building PostgreSQL with \"postgresql.jar\"."
.endif
post-patch:
@ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig
@ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \
-e 's#USE_LOCALE:no#USE_LOCALE:yes#' \
@ -103,9 +103,8 @@ post-patch:
@ ${SED} -e 's=!!PREFIX!!=${PREFIX}=g' \
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
# pgaccess (accidentally?) removed from distribution, so leave it for now
#.if defined(USE_TCL)
#.if defined(WITH_TCL)
# @ ${MV} ${WRKSRC}/bin/pgaccess/pgaccess.tcl \
# ${WRKSRC}/bin/pgaccess/pgaccess.tcl.orig
# @ ${SED} -e "s=/usr/bin/wish=`/usr/bin/which wish8.0`=" \
@ -114,14 +113,12 @@ post-patch:
#.endif
post-build:
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
.if !defined(NOPORTDOCS)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE} examples
.endif
.endif
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
@ ${ECHO} "Detailed instructions, see"
@ -167,14 +164,12 @@ post-install:
@ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh
@ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
@ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql
.if defined(USE_TCL)
${CP} ${TMPPLIST} ${TMPPLIST}.notcl
${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
${RM} ${TMPPLIST}.notcl
.if defined(WITH_TCL)
@${CP} ${TMPPLIST} ${TMPPLIST}.notcl
@${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
@${RM} ${TMPPLIST}.notcl
.endif
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ ${MKDIR} -m 0555 ${PREFIX}/share/java
@ ${INSTALL_DATA} ${WRKSRC}/interfaces/jdbc/postgresql.jar \
${PREFIX}/share/java/postgresql.jar
@ -194,7 +189,6 @@ post-install:
@ ${ECHO_MSG} "---------------------------------------------------------"
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pgsql
@ ${GMAKE} -C ${WRKDIR}/${DISTNAME}/doc install

View file

@ -23,18 +23,19 @@ BROKEN= doesn\'t build on the alpha yet
Y2K= http://www.postgresql.org/y2k.html
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make USE_TCL=yes
.if defined(USE_TCL)
# postgresql with tcl support by typing: make WITH_TCL=yes
.if defined(WITH_TCL)
TCL_INCDIR= ${LOCALBASE}/include/tcl8.0
TK_INCDIR= ${LOCALBASE}/include/tk8.0
MAKE_ENV= USE_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 tk80.1:${PORTSDIR}/x11-toolkits/tk80
WITH_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
MAKE_ENV= WITH_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
tk80.1:${PORTSDIR}/x11-toolkits/tk80
CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
.endif
# if you want jdbc, type make USE_JDBC=yes
# if you want jdbc, type make WITH_JDBC=yes
# Honors JAVA_HOME if you have it set, and don't want the dependency.
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
JAVA_HOME?= ${LOCALBASE}/jdk1.1.8
BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk
#MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
@ -50,7 +51,8 @@ HAS_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" ${WITH_TCL} \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
${CONFIGURE_TCL} \
--with-libraries=${PREFIX}/lib
INSTALL_TARGET= install install-man
@ -79,22 +81,20 @@ MANPREFIX= ${PREFIX}/pgsql
pre-fetch:
@${ECHO_MSG} "To install and run postgresql you need to compile kernel with:"
@${ECHO_MSG} " options \"SYSVSHM, SYSVSEM, SYSVMSG\""
.if !defined(USE_TCL)
.if !defined(WITH_TCL)
@${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
@${ECHO_MSG} " make USE_TCL=yes"
@${ECHO_MSG} " make WITH_TCL=yes"
.else
@${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
.endif
.if !defined(USE_JDBC)
.if !defined(WITH_JDBC)
@ ${ECHO_MSG} "To build Java (JDBC) support, type:"
@ ${ECHO_MSG} " make USE_JDBC=yes"
@ ${ECHO_MSG} " make WITH_JDBC=yes"
.else
@ ${ECHO_MSG} "Building PostgreSQL with \"postgresql.jar\"."
.endif
post-patch:
@ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig
@ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \
-e 's#USE_LOCALE:no#USE_LOCALE:yes#' \
@ -103,9 +103,8 @@ post-patch:
@ ${SED} -e 's=!!PREFIX!!=${PREFIX}=g' \
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
# pgaccess (accidentally?) removed from distribution, so leave it for now
#.if defined(USE_TCL)
#.if defined(WITH_TCL)
# @ ${MV} ${WRKSRC}/bin/pgaccess/pgaccess.tcl \
# ${WRKSRC}/bin/pgaccess/pgaccess.tcl.orig
# @ ${SED} -e "s=/usr/bin/wish=`/usr/bin/which wish8.0`=" \
@ -114,14 +113,12 @@ post-patch:
#.endif
post-build:
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
.if !defined(NOPORTDOCS)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE} examples
.endif
.endif
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
@ ${ECHO} "Detailed instructions, see"
@ -167,14 +164,12 @@ post-install:
@ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh
@ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
@ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql
.if defined(USE_TCL)
${CP} ${TMPPLIST} ${TMPPLIST}.notcl
${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
${RM} ${TMPPLIST}.notcl
.if defined(WITH_TCL)
@${CP} ${TMPPLIST} ${TMPPLIST}.notcl
@${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
@${RM} ${TMPPLIST}.notcl
.endif
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ ${MKDIR} -m 0555 ${PREFIX}/share/java
@ ${INSTALL_DATA} ${WRKSRC}/interfaces/jdbc/postgresql.jar \
${PREFIX}/share/java/postgresql.jar
@ -194,7 +189,6 @@ post-install:
@ ${ECHO_MSG} "---------------------------------------------------------"
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pgsql
@ ${GMAKE} -C ${WRKDIR}/${DISTNAME}/doc install

View file

@ -23,18 +23,19 @@ BROKEN= doesn\'t build on the alpha yet
Y2K= http://www.postgresql.org/y2k.html
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make USE_TCL=yes
.if defined(USE_TCL)
# postgresql with tcl support by typing: make WITH_TCL=yes
.if defined(WITH_TCL)
TCL_INCDIR= ${LOCALBASE}/include/tcl8.0
TK_INCDIR= ${LOCALBASE}/include/tk8.0
MAKE_ENV= USE_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 tk80.1:${PORTSDIR}/x11-toolkits/tk80
WITH_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
MAKE_ENV= WITH_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
tk80.1:${PORTSDIR}/x11-toolkits/tk80
CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
.endif
# if you want jdbc, type make USE_JDBC=yes
# if you want jdbc, type make WITH_JDBC=yes
# Honors JAVA_HOME if you have it set, and don't want the dependency.
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
JAVA_HOME?= ${LOCALBASE}/jdk1.1.8
BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk
#MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
@ -50,7 +51,8 @@ HAS_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" ${WITH_TCL} \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
${CONFIGURE_TCL} \
--with-libraries=${PREFIX}/lib
INSTALL_TARGET= install install-man
@ -79,22 +81,20 @@ MANPREFIX= ${PREFIX}/pgsql
pre-fetch:
@${ECHO_MSG} "To install and run postgresql you need to compile kernel with:"
@${ECHO_MSG} " options \"SYSVSHM, SYSVSEM, SYSVMSG\""
.if !defined(USE_TCL)
.if !defined(WITH_TCL)
@${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
@${ECHO_MSG} " make USE_TCL=yes"
@${ECHO_MSG} " make WITH_TCL=yes"
.else
@${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
.endif
.if !defined(USE_JDBC)
.if !defined(WITH_JDBC)
@ ${ECHO_MSG} "To build Java (JDBC) support, type:"
@ ${ECHO_MSG} " make USE_JDBC=yes"
@ ${ECHO_MSG} " make WITH_JDBC=yes"
.else
@ ${ECHO_MSG} "Building PostgreSQL with \"postgresql.jar\"."
.endif
post-patch:
@ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig
@ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \
-e 's#USE_LOCALE:no#USE_LOCALE:yes#' \
@ -103,9 +103,8 @@ post-patch:
@ ${SED} -e 's=!!PREFIX!!=${PREFIX}=g' \
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
# pgaccess (accidentally?) removed from distribution, so leave it for now
#.if defined(USE_TCL)
#.if defined(WITH_TCL)
# @ ${MV} ${WRKSRC}/bin/pgaccess/pgaccess.tcl \
# ${WRKSRC}/bin/pgaccess/pgaccess.tcl.orig
# @ ${SED} -e "s=/usr/bin/wish=`/usr/bin/which wish8.0`=" \
@ -114,14 +113,12 @@ post-patch:
#.endif
post-build:
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
.if !defined(NOPORTDOCS)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE} examples
.endif
.endif
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
@ ${ECHO} "Detailed instructions, see"
@ -167,14 +164,12 @@ post-install:
@ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh
@ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
@ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql
.if defined(USE_TCL)
${CP} ${TMPPLIST} ${TMPPLIST}.notcl
${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
${RM} ${TMPPLIST}.notcl
.if defined(WITH_TCL)
@${CP} ${TMPPLIST} ${TMPPLIST}.notcl
@${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
@${RM} ${TMPPLIST}.notcl
.endif
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ ${MKDIR} -m 0555 ${PREFIX}/share/java
@ ${INSTALL_DATA} ${WRKSRC}/interfaces/jdbc/postgresql.jar \
${PREFIX}/share/java/postgresql.jar
@ -194,7 +189,6 @@ post-install:
@ ${ECHO_MSG} "---------------------------------------------------------"
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pgsql
@ ${GMAKE} -C ${WRKDIR}/${DISTNAME}/doc install

View file

@ -23,18 +23,19 @@ BROKEN= doesn\'t build on the alpha yet
Y2K= http://www.postgresql.org/y2k.html
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make USE_TCL=yes
.if defined(USE_TCL)
# postgresql with tcl support by typing: make WITH_TCL=yes
.if defined(WITH_TCL)
TCL_INCDIR= ${LOCALBASE}/include/tcl8.0
TK_INCDIR= ${LOCALBASE}/include/tk8.0
MAKE_ENV= USE_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 tk80.1:${PORTSDIR}/x11-toolkits/tk80
WITH_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
MAKE_ENV= WITH_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
tk80.1:${PORTSDIR}/x11-toolkits/tk80
CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
.endif
# if you want jdbc, type make USE_JDBC=yes
# if you want jdbc, type make WITH_JDBC=yes
# Honors JAVA_HOME if you have it set, and don't want the dependency.
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
JAVA_HOME?= ${LOCALBASE}/jdk1.1.8
BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk
#MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
@ -50,7 +51,8 @@ HAS_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" ${WITH_TCL} \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
${CONFIGURE_TCL} \
--with-libraries=${PREFIX}/lib
INSTALL_TARGET= install install-man
@ -79,22 +81,20 @@ MANPREFIX= ${PREFIX}/pgsql
pre-fetch:
@${ECHO_MSG} "To install and run postgresql you need to compile kernel with:"
@${ECHO_MSG} " options \"SYSVSHM, SYSVSEM, SYSVMSG\""
.if !defined(USE_TCL)
.if !defined(WITH_TCL)
@${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
@${ECHO_MSG} " make USE_TCL=yes"
@${ECHO_MSG} " make WITH_TCL=yes"
.else
@${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
.endif
.if !defined(USE_JDBC)
.if !defined(WITH_JDBC)
@ ${ECHO_MSG} "To build Java (JDBC) support, type:"
@ ${ECHO_MSG} " make USE_JDBC=yes"
@ ${ECHO_MSG} " make WITH_JDBC=yes"
.else
@ ${ECHO_MSG} "Building PostgreSQL with \"postgresql.jar\"."
.endif
post-patch:
@ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig
@ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \
-e 's#USE_LOCALE:no#USE_LOCALE:yes#' \
@ -103,9 +103,8 @@ post-patch:
@ ${SED} -e 's=!!PREFIX!!=${PREFIX}=g' \
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
# pgaccess (accidentally?) removed from distribution, so leave it for now
#.if defined(USE_TCL)
#.if defined(WITH_TCL)
# @ ${MV} ${WRKSRC}/bin/pgaccess/pgaccess.tcl \
# ${WRKSRC}/bin/pgaccess/pgaccess.tcl.orig
# @ ${SED} -e "s=/usr/bin/wish=`/usr/bin/which wish8.0`=" \
@ -114,14 +113,12 @@ post-patch:
#.endif
post-build:
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
.if !defined(NOPORTDOCS)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE} examples
.endif
.endif
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
@ ${ECHO} "Detailed instructions, see"
@ -167,14 +164,12 @@ post-install:
@ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh
@ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
@ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql
.if defined(USE_TCL)
${CP} ${TMPPLIST} ${TMPPLIST}.notcl
${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
${RM} ${TMPPLIST}.notcl
.if defined(WITH_TCL)
@${CP} ${TMPPLIST} ${TMPPLIST}.notcl
@${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
@${RM} ${TMPPLIST}.notcl
.endif
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ ${MKDIR} -m 0555 ${PREFIX}/share/java
@ ${INSTALL_DATA} ${WRKSRC}/interfaces/jdbc/postgresql.jar \
${PREFIX}/share/java/postgresql.jar
@ -194,7 +189,6 @@ post-install:
@ ${ECHO_MSG} "---------------------------------------------------------"
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pgsql
@ ${GMAKE} -C ${WRKDIR}/${DISTNAME}/doc install

View file

@ -23,18 +23,19 @@ BROKEN= doesn\'t build on the alpha yet
Y2K= http://www.postgresql.org/y2k.html
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make USE_TCL=yes
.if defined(USE_TCL)
# postgresql with tcl support by typing: make WITH_TCL=yes
.if defined(WITH_TCL)
TCL_INCDIR= ${LOCALBASE}/include/tcl8.0
TK_INCDIR= ${LOCALBASE}/include/tk8.0
MAKE_ENV= USE_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 tk80.1:${PORTSDIR}/x11-toolkits/tk80
WITH_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
MAKE_ENV= WITH_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
tk80.1:${PORTSDIR}/x11-toolkits/tk80
CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
.endif
# if you want jdbc, type make USE_JDBC=yes
# if you want jdbc, type make WITH_JDBC=yes
# Honors JAVA_HOME if you have it set, and don't want the dependency.
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
JAVA_HOME?= ${LOCALBASE}/jdk1.1.8
BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk
#MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
@ -50,7 +51,8 @@ HAS_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" ${WITH_TCL} \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
${CONFIGURE_TCL} \
--with-libraries=${PREFIX}/lib
INSTALL_TARGET= install install-man
@ -79,22 +81,20 @@ MANPREFIX= ${PREFIX}/pgsql
pre-fetch:
@${ECHO_MSG} "To install and run postgresql you need to compile kernel with:"
@${ECHO_MSG} " options \"SYSVSHM, SYSVSEM, SYSVMSG\""
.if !defined(USE_TCL)
.if !defined(WITH_TCL)
@${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
@${ECHO_MSG} " make USE_TCL=yes"
@${ECHO_MSG} " make WITH_TCL=yes"
.else
@${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
.endif
.if !defined(USE_JDBC)
.if !defined(WITH_JDBC)
@ ${ECHO_MSG} "To build Java (JDBC) support, type:"
@ ${ECHO_MSG} " make USE_JDBC=yes"
@ ${ECHO_MSG} " make WITH_JDBC=yes"
.else
@ ${ECHO_MSG} "Building PostgreSQL with \"postgresql.jar\"."
.endif
post-patch:
@ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig
@ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \
-e 's#USE_LOCALE:no#USE_LOCALE:yes#' \
@ -103,9 +103,8 @@ post-patch:
@ ${SED} -e 's=!!PREFIX!!=${PREFIX}=g' \
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
# pgaccess (accidentally?) removed from distribution, so leave it for now
#.if defined(USE_TCL)
#.if defined(WITH_TCL)
# @ ${MV} ${WRKSRC}/bin/pgaccess/pgaccess.tcl \
# ${WRKSRC}/bin/pgaccess/pgaccess.tcl.orig
# @ ${SED} -e "s=/usr/bin/wish=`/usr/bin/which wish8.0`=" \
@ -114,14 +113,12 @@ post-patch:
#.endif
post-build:
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
.if !defined(NOPORTDOCS)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE} examples
.endif
.endif
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
@ ${ECHO} "Detailed instructions, see"
@ -167,14 +164,12 @@ post-install:
@ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh
@ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
@ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql
.if defined(USE_TCL)
${CP} ${TMPPLIST} ${TMPPLIST}.notcl
${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
${RM} ${TMPPLIST}.notcl
.if defined(WITH_TCL)
@${CP} ${TMPPLIST} ${TMPPLIST}.notcl
@${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
@${RM} ${TMPPLIST}.notcl
.endif
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ ${MKDIR} -m 0555 ${PREFIX}/share/java
@ ${INSTALL_DATA} ${WRKSRC}/interfaces/jdbc/postgresql.jar \
${PREFIX}/share/java/postgresql.jar
@ -194,7 +189,6 @@ post-install:
@ ${ECHO_MSG} "---------------------------------------------------------"
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pgsql
@ ${GMAKE} -C ${WRKDIR}/${DISTNAME}/doc install

View file

@ -23,18 +23,19 @@ BROKEN= doesn\'t build on the alpha yet
Y2K= http://www.postgresql.org/y2k.html
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make USE_TCL=yes
.if defined(USE_TCL)
# postgresql with tcl support by typing: make WITH_TCL=yes
.if defined(WITH_TCL)
TCL_INCDIR= ${LOCALBASE}/include/tcl8.0
TK_INCDIR= ${LOCALBASE}/include/tk8.0
MAKE_ENV= USE_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 tk80.1:${PORTSDIR}/x11-toolkits/tk80
WITH_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
MAKE_ENV= WITH_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
tk80.1:${PORTSDIR}/x11-toolkits/tk80
CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
.endif
# if you want jdbc, type make USE_JDBC=yes
# if you want jdbc, type make WITH_JDBC=yes
# Honors JAVA_HOME if you have it set, and don't want the dependency.
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
JAVA_HOME?= ${LOCALBASE}/jdk1.1.8
BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk
#MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
@ -50,7 +51,8 @@ HAS_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" ${WITH_TCL} \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
${CONFIGURE_TCL} \
--with-libraries=${PREFIX}/lib
INSTALL_TARGET= install install-man
@ -79,22 +81,20 @@ MANPREFIX= ${PREFIX}/pgsql
pre-fetch:
@${ECHO_MSG} "To install and run postgresql you need to compile kernel with:"
@${ECHO_MSG} " options \"SYSVSHM, SYSVSEM, SYSVMSG\""
.if !defined(USE_TCL)
.if !defined(WITH_TCL)
@${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
@${ECHO_MSG} " make USE_TCL=yes"
@${ECHO_MSG} " make WITH_TCL=yes"
.else
@${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
.endif
.if !defined(USE_JDBC)
.if !defined(WITH_JDBC)
@ ${ECHO_MSG} "To build Java (JDBC) support, type:"
@ ${ECHO_MSG} " make USE_JDBC=yes"
@ ${ECHO_MSG} " make WITH_JDBC=yes"
.else
@ ${ECHO_MSG} "Building PostgreSQL with \"postgresql.jar\"."
.endif
post-patch:
@ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig
@ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \
-e 's#USE_LOCALE:no#USE_LOCALE:yes#' \
@ -103,9 +103,8 @@ post-patch:
@ ${SED} -e 's=!!PREFIX!!=${PREFIX}=g' \
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
# pgaccess (accidentally?) removed from distribution, so leave it for now
#.if defined(USE_TCL)
#.if defined(WITH_TCL)
# @ ${MV} ${WRKSRC}/bin/pgaccess/pgaccess.tcl \
# ${WRKSRC}/bin/pgaccess/pgaccess.tcl.orig
# @ ${SED} -e "s=/usr/bin/wish=`/usr/bin/which wish8.0`=" \
@ -114,14 +113,12 @@ post-patch:
#.endif
post-build:
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
.if !defined(NOPORTDOCS)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE} examples
.endif
.endif
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
@ ${ECHO} "Detailed instructions, see"
@ -167,14 +164,12 @@ post-install:
@ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh
@ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
@ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql
.if defined(USE_TCL)
${CP} ${TMPPLIST} ${TMPPLIST}.notcl
${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
${RM} ${TMPPLIST}.notcl
.if defined(WITH_TCL)
@${CP} ${TMPPLIST} ${TMPPLIST}.notcl
@${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
@${RM} ${TMPPLIST}.notcl
.endif
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ ${MKDIR} -m 0555 ${PREFIX}/share/java
@ ${INSTALL_DATA} ${WRKSRC}/interfaces/jdbc/postgresql.jar \
${PREFIX}/share/java/postgresql.jar
@ -194,7 +189,6 @@ post-install:
@ ${ECHO_MSG} "---------------------------------------------------------"
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pgsql
@ ${GMAKE} -C ${WRKDIR}/${DISTNAME}/doc install

View file

@ -23,18 +23,19 @@ BROKEN= doesn\'t build on the alpha yet
Y2K= http://www.postgresql.org/y2k.html
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make USE_TCL=yes
.if defined(USE_TCL)
# postgresql with tcl support by typing: make WITH_TCL=yes
.if defined(WITH_TCL)
TCL_INCDIR= ${LOCALBASE}/include/tcl8.0
TK_INCDIR= ${LOCALBASE}/include/tk8.0
MAKE_ENV= USE_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 tk80.1:${PORTSDIR}/x11-toolkits/tk80
WITH_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
MAKE_ENV= WITH_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
tk80.1:${PORTSDIR}/x11-toolkits/tk80
CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
.endif
# if you want jdbc, type make USE_JDBC=yes
# if you want jdbc, type make WITH_JDBC=yes
# Honors JAVA_HOME if you have it set, and don't want the dependency.
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
JAVA_HOME?= ${LOCALBASE}/jdk1.1.8
BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk
#MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
@ -50,7 +51,8 @@ HAS_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" ${WITH_TCL} \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
${CONFIGURE_TCL} \
--with-libraries=${PREFIX}/lib
INSTALL_TARGET= install install-man
@ -79,22 +81,20 @@ MANPREFIX= ${PREFIX}/pgsql
pre-fetch:
@${ECHO_MSG} "To install and run postgresql you need to compile kernel with:"
@${ECHO_MSG} " options \"SYSVSHM, SYSVSEM, SYSVMSG\""
.if !defined(USE_TCL)
.if !defined(WITH_TCL)
@${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
@${ECHO_MSG} " make USE_TCL=yes"
@${ECHO_MSG} " make WITH_TCL=yes"
.else
@${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
.endif
.if !defined(USE_JDBC)
.if !defined(WITH_JDBC)
@ ${ECHO_MSG} "To build Java (JDBC) support, type:"
@ ${ECHO_MSG} " make USE_JDBC=yes"
@ ${ECHO_MSG} " make WITH_JDBC=yes"
.else
@ ${ECHO_MSG} "Building PostgreSQL with \"postgresql.jar\"."
.endif
post-patch:
@ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig
@ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \
-e 's#USE_LOCALE:no#USE_LOCALE:yes#' \
@ -103,9 +103,8 @@ post-patch:
@ ${SED} -e 's=!!PREFIX!!=${PREFIX}=g' \
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
# pgaccess (accidentally?) removed from distribution, so leave it for now
#.if defined(USE_TCL)
#.if defined(WITH_TCL)
# @ ${MV} ${WRKSRC}/bin/pgaccess/pgaccess.tcl \
# ${WRKSRC}/bin/pgaccess/pgaccess.tcl.orig
# @ ${SED} -e "s=/usr/bin/wish=`/usr/bin/which wish8.0`=" \
@ -114,14 +113,12 @@ post-patch:
#.endif
post-build:
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
.if !defined(NOPORTDOCS)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE} examples
.endif
.endif
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
@ ${ECHO} "Detailed instructions, see"
@ -167,14 +164,12 @@ post-install:
@ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh
@ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
@ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql
.if defined(USE_TCL)
${CP} ${TMPPLIST} ${TMPPLIST}.notcl
${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
${RM} ${TMPPLIST}.notcl
.if defined(WITH_TCL)
@${CP} ${TMPPLIST} ${TMPPLIST}.notcl
@${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
@${RM} ${TMPPLIST}.notcl
.endif
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ ${MKDIR} -m 0555 ${PREFIX}/share/java
@ ${INSTALL_DATA} ${WRKSRC}/interfaces/jdbc/postgresql.jar \
${PREFIX}/share/java/postgresql.jar
@ -194,7 +189,6 @@ post-install:
@ ${ECHO_MSG} "---------------------------------------------------------"
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pgsql
@ ${GMAKE} -C ${WRKDIR}/${DISTNAME}/doc install

View file

@ -23,18 +23,19 @@ BROKEN= doesn\'t build on the alpha yet
Y2K= http://www.postgresql.org/y2k.html
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make USE_TCL=yes
.if defined(USE_TCL)
# postgresql with tcl support by typing: make WITH_TCL=yes
.if defined(WITH_TCL)
TCL_INCDIR= ${LOCALBASE}/include/tcl8.0
TK_INCDIR= ${LOCALBASE}/include/tk8.0
MAKE_ENV= USE_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 tk80.1:${PORTSDIR}/x11-toolkits/tk80
WITH_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
MAKE_ENV= WITH_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
tk80.1:${PORTSDIR}/x11-toolkits/tk80
CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
.endif
# if you want jdbc, type make USE_JDBC=yes
# if you want jdbc, type make WITH_JDBC=yes
# Honors JAVA_HOME if you have it set, and don't want the dependency.
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
JAVA_HOME?= ${LOCALBASE}/jdk1.1.8
BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk
#MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
@ -50,7 +51,8 @@ HAS_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" ${WITH_TCL} \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
${CONFIGURE_TCL} \
--with-libraries=${PREFIX}/lib
INSTALL_TARGET= install install-man
@ -79,22 +81,20 @@ MANPREFIX= ${PREFIX}/pgsql
pre-fetch:
@${ECHO_MSG} "To install and run postgresql you need to compile kernel with:"
@${ECHO_MSG} " options \"SYSVSHM, SYSVSEM, SYSVMSG\""
.if !defined(USE_TCL)
.if !defined(WITH_TCL)
@${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
@${ECHO_MSG} " make USE_TCL=yes"
@${ECHO_MSG} " make WITH_TCL=yes"
.else
@${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
.endif
.if !defined(USE_JDBC)
.if !defined(WITH_JDBC)
@ ${ECHO_MSG} "To build Java (JDBC) support, type:"
@ ${ECHO_MSG} " make USE_JDBC=yes"
@ ${ECHO_MSG} " make WITH_JDBC=yes"
.else
@ ${ECHO_MSG} "Building PostgreSQL with \"postgresql.jar\"."
.endif
post-patch:
@ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig
@ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \
-e 's#USE_LOCALE:no#USE_LOCALE:yes#' \
@ -103,9 +103,8 @@ post-patch:
@ ${SED} -e 's=!!PREFIX!!=${PREFIX}=g' \
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
# pgaccess (accidentally?) removed from distribution, so leave it for now
#.if defined(USE_TCL)
#.if defined(WITH_TCL)
# @ ${MV} ${WRKSRC}/bin/pgaccess/pgaccess.tcl \
# ${WRKSRC}/bin/pgaccess/pgaccess.tcl.orig
# @ ${SED} -e "s=/usr/bin/wish=`/usr/bin/which wish8.0`=" \
@ -114,14 +113,12 @@ post-patch:
#.endif
post-build:
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
.if !defined(NOPORTDOCS)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE} examples
.endif
.endif
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
@ ${ECHO} "Detailed instructions, see"
@ -167,14 +164,12 @@ post-install:
@ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh
@ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
@ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql
.if defined(USE_TCL)
${CP} ${TMPPLIST} ${TMPPLIST}.notcl
${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
${RM} ${TMPPLIST}.notcl
.if defined(WITH_TCL)
@${CP} ${TMPPLIST} ${TMPPLIST}.notcl
@${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
@${RM} ${TMPPLIST}.notcl
.endif
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ ${MKDIR} -m 0555 ${PREFIX}/share/java
@ ${INSTALL_DATA} ${WRKSRC}/interfaces/jdbc/postgresql.jar \
${PREFIX}/share/java/postgresql.jar
@ -194,7 +189,6 @@ post-install:
@ ${ECHO_MSG} "---------------------------------------------------------"
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pgsql
@ ${GMAKE} -C ${WRKDIR}/${DISTNAME}/doc install

View file

@ -23,18 +23,19 @@ BROKEN= doesn\'t build on the alpha yet
Y2K= http://www.postgresql.org/y2k.html
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make USE_TCL=yes
.if defined(USE_TCL)
# postgresql with tcl support by typing: make WITH_TCL=yes
.if defined(WITH_TCL)
TCL_INCDIR= ${LOCALBASE}/include/tcl8.0
TK_INCDIR= ${LOCALBASE}/include/tk8.0
MAKE_ENV= USE_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 tk80.1:${PORTSDIR}/x11-toolkits/tk80
WITH_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
MAKE_ENV= WITH_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
tk80.1:${PORTSDIR}/x11-toolkits/tk80
CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
.endif
# if you want jdbc, type make USE_JDBC=yes
# if you want jdbc, type make WITH_JDBC=yes
# Honors JAVA_HOME if you have it set, and don't want the dependency.
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
JAVA_HOME?= ${LOCALBASE}/jdk1.1.8
BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk
#MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
@ -50,7 +51,8 @@ HAS_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" ${WITH_TCL} \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
${CONFIGURE_TCL} \
--with-libraries=${PREFIX}/lib
INSTALL_TARGET= install install-man
@ -79,22 +81,20 @@ MANPREFIX= ${PREFIX}/pgsql
pre-fetch:
@${ECHO_MSG} "To install and run postgresql you need to compile kernel with:"
@${ECHO_MSG} " options \"SYSVSHM, SYSVSEM, SYSVMSG\""
.if !defined(USE_TCL)
.if !defined(WITH_TCL)
@${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
@${ECHO_MSG} " make USE_TCL=yes"
@${ECHO_MSG} " make WITH_TCL=yes"
.else
@${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
.endif
.if !defined(USE_JDBC)
.if !defined(WITH_JDBC)
@ ${ECHO_MSG} "To build Java (JDBC) support, type:"
@ ${ECHO_MSG} " make USE_JDBC=yes"
@ ${ECHO_MSG} " make WITH_JDBC=yes"
.else
@ ${ECHO_MSG} "Building PostgreSQL with \"postgresql.jar\"."
.endif
post-patch:
@ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig
@ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \
-e 's#USE_LOCALE:no#USE_LOCALE:yes#' \
@ -103,9 +103,8 @@ post-patch:
@ ${SED} -e 's=!!PREFIX!!=${PREFIX}=g' \
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
# pgaccess (accidentally?) removed from distribution, so leave it for now
#.if defined(USE_TCL)
#.if defined(WITH_TCL)
# @ ${MV} ${WRKSRC}/bin/pgaccess/pgaccess.tcl \
# ${WRKSRC}/bin/pgaccess/pgaccess.tcl.orig
# @ ${SED} -e "s=/usr/bin/wish=`/usr/bin/which wish8.0`=" \
@ -114,14 +113,12 @@ post-patch:
#.endif
post-build:
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
.if !defined(NOPORTDOCS)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE} examples
.endif
.endif
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
@ ${ECHO} "Detailed instructions, see"
@ -167,14 +164,12 @@ post-install:
@ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh
@ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
@ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql
.if defined(USE_TCL)
${CP} ${TMPPLIST} ${TMPPLIST}.notcl
${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
${RM} ${TMPPLIST}.notcl
.if defined(WITH_TCL)
@${CP} ${TMPPLIST} ${TMPPLIST}.notcl
@${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
@${RM} ${TMPPLIST}.notcl
.endif
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ ${MKDIR} -m 0555 ${PREFIX}/share/java
@ ${INSTALL_DATA} ${WRKSRC}/interfaces/jdbc/postgresql.jar \
${PREFIX}/share/java/postgresql.jar
@ -194,7 +189,6 @@ post-install:
@ ${ECHO_MSG} "---------------------------------------------------------"
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pgsql
@ ${GMAKE} -C ${WRKDIR}/${DISTNAME}/doc install

View file

@ -23,18 +23,19 @@ BROKEN= doesn\'t build on the alpha yet
Y2K= http://www.postgresql.org/y2k.html
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make USE_TCL=yes
.if defined(USE_TCL)
# postgresql with tcl support by typing: make WITH_TCL=yes
.if defined(WITH_TCL)
TCL_INCDIR= ${LOCALBASE}/include/tcl8.0
TK_INCDIR= ${LOCALBASE}/include/tk8.0
MAKE_ENV= USE_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 tk80.1:${PORTSDIR}/x11-toolkits/tk80
WITH_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
MAKE_ENV= WITH_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
tk80.1:${PORTSDIR}/x11-toolkits/tk80
CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
.endif
# if you want jdbc, type make USE_JDBC=yes
# if you want jdbc, type make WITH_JDBC=yes
# Honors JAVA_HOME if you have it set, and don't want the dependency.
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
JAVA_HOME?= ${LOCALBASE}/jdk1.1.8
BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk
#MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
@ -50,7 +51,8 @@ HAS_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" ${WITH_TCL} \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
${CONFIGURE_TCL} \
--with-libraries=${PREFIX}/lib
INSTALL_TARGET= install install-man
@ -79,22 +81,20 @@ MANPREFIX= ${PREFIX}/pgsql
pre-fetch:
@${ECHO_MSG} "To install and run postgresql you need to compile kernel with:"
@${ECHO_MSG} " options \"SYSVSHM, SYSVSEM, SYSVMSG\""
.if !defined(USE_TCL)
.if !defined(WITH_TCL)
@${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
@${ECHO_MSG} " make USE_TCL=yes"
@${ECHO_MSG} " make WITH_TCL=yes"
.else
@${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
.endif
.if !defined(USE_JDBC)
.if !defined(WITH_JDBC)
@ ${ECHO_MSG} "To build Java (JDBC) support, type:"
@ ${ECHO_MSG} " make USE_JDBC=yes"
@ ${ECHO_MSG} " make WITH_JDBC=yes"
.else
@ ${ECHO_MSG} "Building PostgreSQL with \"postgresql.jar\"."
.endif
post-patch:
@ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig
@ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \
-e 's#USE_LOCALE:no#USE_LOCALE:yes#' \
@ -103,9 +103,8 @@ post-patch:
@ ${SED} -e 's=!!PREFIX!!=${PREFIX}=g' \
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
# pgaccess (accidentally?) removed from distribution, so leave it for now
#.if defined(USE_TCL)
#.if defined(WITH_TCL)
# @ ${MV} ${WRKSRC}/bin/pgaccess/pgaccess.tcl \
# ${WRKSRC}/bin/pgaccess/pgaccess.tcl.orig
# @ ${SED} -e "s=/usr/bin/wish=`/usr/bin/which wish8.0`=" \
@ -114,14 +113,12 @@ post-patch:
#.endif
post-build:
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
.if !defined(NOPORTDOCS)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE} examples
.endif
.endif
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
@ ${ECHO} "Detailed instructions, see"
@ -167,14 +164,12 @@ post-install:
@ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh
@ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
@ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql
.if defined(USE_TCL)
${CP} ${TMPPLIST} ${TMPPLIST}.notcl
${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
${RM} ${TMPPLIST}.notcl
.if defined(WITH_TCL)
@${CP} ${TMPPLIST} ${TMPPLIST}.notcl
@${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
@${RM} ${TMPPLIST}.notcl
.endif
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ ${MKDIR} -m 0555 ${PREFIX}/share/java
@ ${INSTALL_DATA} ${WRKSRC}/interfaces/jdbc/postgresql.jar \
${PREFIX}/share/java/postgresql.jar
@ -194,7 +189,6 @@ post-install:
@ ${ECHO_MSG} "---------------------------------------------------------"
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pgsql
@ ${GMAKE} -C ${WRKDIR}/${DISTNAME}/doc install

View file

@ -23,18 +23,19 @@ BROKEN= doesn\'t build on the alpha yet
Y2K= http://www.postgresql.org/y2k.html
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make USE_TCL=yes
.if defined(USE_TCL)
# postgresql with tcl support by typing: make WITH_TCL=yes
.if defined(WITH_TCL)
TCL_INCDIR= ${LOCALBASE}/include/tcl8.0
TK_INCDIR= ${LOCALBASE}/include/tk8.0
MAKE_ENV= USE_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 tk80.1:${PORTSDIR}/x11-toolkits/tk80
WITH_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
MAKE_ENV= WITH_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
tk80.1:${PORTSDIR}/x11-toolkits/tk80
CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
.endif
# if you want jdbc, type make USE_JDBC=yes
# if you want jdbc, type make WITH_JDBC=yes
# Honors JAVA_HOME if you have it set, and don't want the dependency.
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
JAVA_HOME?= ${LOCALBASE}/jdk1.1.8
BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk
#MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
@ -50,7 +51,8 @@ HAS_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" ${WITH_TCL} \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
${CONFIGURE_TCL} \
--with-libraries=${PREFIX}/lib
INSTALL_TARGET= install install-man
@ -79,22 +81,20 @@ MANPREFIX= ${PREFIX}/pgsql
pre-fetch:
@${ECHO_MSG} "To install and run postgresql you need to compile kernel with:"
@${ECHO_MSG} " options \"SYSVSHM, SYSVSEM, SYSVMSG\""
.if !defined(USE_TCL)
.if !defined(WITH_TCL)
@${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
@${ECHO_MSG} " make USE_TCL=yes"
@${ECHO_MSG} " make WITH_TCL=yes"
.else
@${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
.endif
.if !defined(USE_JDBC)
.if !defined(WITH_JDBC)
@ ${ECHO_MSG} "To build Java (JDBC) support, type:"
@ ${ECHO_MSG} " make USE_JDBC=yes"
@ ${ECHO_MSG} " make WITH_JDBC=yes"
.else
@ ${ECHO_MSG} "Building PostgreSQL with \"postgresql.jar\"."
.endif
post-patch:
@ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig
@ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \
-e 's#USE_LOCALE:no#USE_LOCALE:yes#' \
@ -103,9 +103,8 @@ post-patch:
@ ${SED} -e 's=!!PREFIX!!=${PREFIX}=g' \
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
# pgaccess (accidentally?) removed from distribution, so leave it for now
#.if defined(USE_TCL)
#.if defined(WITH_TCL)
# @ ${MV} ${WRKSRC}/bin/pgaccess/pgaccess.tcl \
# ${WRKSRC}/bin/pgaccess/pgaccess.tcl.orig
# @ ${SED} -e "s=/usr/bin/wish=`/usr/bin/which wish8.0`=" \
@ -114,14 +113,12 @@ post-patch:
#.endif
post-build:
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
.if !defined(NOPORTDOCS)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE} examples
.endif
.endif
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
@ ${ECHO} "Detailed instructions, see"
@ -167,14 +164,12 @@ post-install:
@ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh
@ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
@ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql
.if defined(USE_TCL)
${CP} ${TMPPLIST} ${TMPPLIST}.notcl
${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
${RM} ${TMPPLIST}.notcl
.if defined(WITH_TCL)
@${CP} ${TMPPLIST} ${TMPPLIST}.notcl
@${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
@${RM} ${TMPPLIST}.notcl
.endif
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ ${MKDIR} -m 0555 ${PREFIX}/share/java
@ ${INSTALL_DATA} ${WRKSRC}/interfaces/jdbc/postgresql.jar \
${PREFIX}/share/java/postgresql.jar
@ -194,7 +189,6 @@ post-install:
@ ${ECHO_MSG} "---------------------------------------------------------"
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pgsql
@ ${GMAKE} -C ${WRKDIR}/${DISTNAME}/doc install

View file

@ -23,18 +23,19 @@ BROKEN= doesn\'t build on the alpha yet
Y2K= http://www.postgresql.org/y2k.html
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make USE_TCL=yes
.if defined(USE_TCL)
# postgresql with tcl support by typing: make WITH_TCL=yes
.if defined(WITH_TCL)
TCL_INCDIR= ${LOCALBASE}/include/tcl8.0
TK_INCDIR= ${LOCALBASE}/include/tk8.0
MAKE_ENV= USE_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 tk80.1:${PORTSDIR}/x11-toolkits/tk80
WITH_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
MAKE_ENV= WITH_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
tk80.1:${PORTSDIR}/x11-toolkits/tk80
CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
.endif
# if you want jdbc, type make USE_JDBC=yes
# if you want jdbc, type make WITH_JDBC=yes
# Honors JAVA_HOME if you have it set, and don't want the dependency.
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
JAVA_HOME?= ${LOCALBASE}/jdk1.1.8
BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk
#MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
@ -50,7 +51,8 @@ HAS_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" ${WITH_TCL} \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
${CONFIGURE_TCL} \
--with-libraries=${PREFIX}/lib
INSTALL_TARGET= install install-man
@ -79,22 +81,20 @@ MANPREFIX= ${PREFIX}/pgsql
pre-fetch:
@${ECHO_MSG} "To install and run postgresql you need to compile kernel with:"
@${ECHO_MSG} " options \"SYSVSHM, SYSVSEM, SYSVMSG\""
.if !defined(USE_TCL)
.if !defined(WITH_TCL)
@${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
@${ECHO_MSG} " make USE_TCL=yes"
@${ECHO_MSG} " make WITH_TCL=yes"
.else
@${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
.endif
.if !defined(USE_JDBC)
.if !defined(WITH_JDBC)
@ ${ECHO_MSG} "To build Java (JDBC) support, type:"
@ ${ECHO_MSG} " make USE_JDBC=yes"
@ ${ECHO_MSG} " make WITH_JDBC=yes"
.else
@ ${ECHO_MSG} "Building PostgreSQL with \"postgresql.jar\"."
.endif
post-patch:
@ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig
@ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \
-e 's#USE_LOCALE:no#USE_LOCALE:yes#' \
@ -103,9 +103,8 @@ post-patch:
@ ${SED} -e 's=!!PREFIX!!=${PREFIX}=g' \
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
# pgaccess (accidentally?) removed from distribution, so leave it for now
#.if defined(USE_TCL)
#.if defined(WITH_TCL)
# @ ${MV} ${WRKSRC}/bin/pgaccess/pgaccess.tcl \
# ${WRKSRC}/bin/pgaccess/pgaccess.tcl.orig
# @ ${SED} -e "s=/usr/bin/wish=`/usr/bin/which wish8.0`=" \
@ -114,14 +113,12 @@ post-patch:
#.endif
post-build:
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
.if !defined(NOPORTDOCS)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE} examples
.endif
.endif
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
@ ${ECHO} "Detailed instructions, see"
@ -167,14 +164,12 @@ post-install:
@ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh
@ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
@ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql
.if defined(USE_TCL)
${CP} ${TMPPLIST} ${TMPPLIST}.notcl
${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
${RM} ${TMPPLIST}.notcl
.if defined(WITH_TCL)
@${CP} ${TMPPLIST} ${TMPPLIST}.notcl
@${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
@${RM} ${TMPPLIST}.notcl
.endif
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ ${MKDIR} -m 0555 ${PREFIX}/share/java
@ ${INSTALL_DATA} ${WRKSRC}/interfaces/jdbc/postgresql.jar \
${PREFIX}/share/java/postgresql.jar
@ -194,7 +189,6 @@ post-install:
@ ${ECHO_MSG} "---------------------------------------------------------"
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pgsql
@ ${GMAKE} -C ${WRKDIR}/${DISTNAME}/doc install

View file

@ -23,18 +23,19 @@ BROKEN= doesn\'t build on the alpha yet
Y2K= http://www.postgresql.org/y2k.html
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make USE_TCL=yes
.if defined(USE_TCL)
# postgresql with tcl support by typing: make WITH_TCL=yes
.if defined(WITH_TCL)
TCL_INCDIR= ${LOCALBASE}/include/tcl8.0
TK_INCDIR= ${LOCALBASE}/include/tk8.0
MAKE_ENV= USE_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 tk80.1:${PORTSDIR}/x11-toolkits/tk80
WITH_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
MAKE_ENV= WITH_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
tk80.1:${PORTSDIR}/x11-toolkits/tk80
CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
.endif
# if you want jdbc, type make USE_JDBC=yes
# if you want jdbc, type make WITH_JDBC=yes
# Honors JAVA_HOME if you have it set, and don't want the dependency.
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
JAVA_HOME?= ${LOCALBASE}/jdk1.1.8
BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk
#MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
@ -50,7 +51,8 @@ HAS_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" ${WITH_TCL} \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
${CONFIGURE_TCL} \
--with-libraries=${PREFIX}/lib
INSTALL_TARGET= install install-man
@ -79,22 +81,20 @@ MANPREFIX= ${PREFIX}/pgsql
pre-fetch:
@${ECHO_MSG} "To install and run postgresql you need to compile kernel with:"
@${ECHO_MSG} " options \"SYSVSHM, SYSVSEM, SYSVMSG\""
.if !defined(USE_TCL)
.if !defined(WITH_TCL)
@${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
@${ECHO_MSG} " make USE_TCL=yes"
@${ECHO_MSG} " make WITH_TCL=yes"
.else
@${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
.endif
.if !defined(USE_JDBC)
.if !defined(WITH_JDBC)
@ ${ECHO_MSG} "To build Java (JDBC) support, type:"
@ ${ECHO_MSG} " make USE_JDBC=yes"
@ ${ECHO_MSG} " make WITH_JDBC=yes"
.else
@ ${ECHO_MSG} "Building PostgreSQL with \"postgresql.jar\"."
.endif
post-patch:
@ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig
@ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \
-e 's#USE_LOCALE:no#USE_LOCALE:yes#' \
@ -103,9 +103,8 @@ post-patch:
@ ${SED} -e 's=!!PREFIX!!=${PREFIX}=g' \
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
# pgaccess (accidentally?) removed from distribution, so leave it for now
#.if defined(USE_TCL)
#.if defined(WITH_TCL)
# @ ${MV} ${WRKSRC}/bin/pgaccess/pgaccess.tcl \
# ${WRKSRC}/bin/pgaccess/pgaccess.tcl.orig
# @ ${SED} -e "s=/usr/bin/wish=`/usr/bin/which wish8.0`=" \
@ -114,14 +113,12 @@ post-patch:
#.endif
post-build:
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
.if !defined(NOPORTDOCS)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE} examples
.endif
.endif
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
@ ${ECHO} "Detailed instructions, see"
@ -167,14 +164,12 @@ post-install:
@ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh
@ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
@ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql
.if defined(USE_TCL)
${CP} ${TMPPLIST} ${TMPPLIST}.notcl
${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
${RM} ${TMPPLIST}.notcl
.if defined(WITH_TCL)
@${CP} ${TMPPLIST} ${TMPPLIST}.notcl
@${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
@${RM} ${TMPPLIST}.notcl
.endif
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ ${MKDIR} -m 0555 ${PREFIX}/share/java
@ ${INSTALL_DATA} ${WRKSRC}/interfaces/jdbc/postgresql.jar \
${PREFIX}/share/java/postgresql.jar
@ -194,7 +189,6 @@ post-install:
@ ${ECHO_MSG} "---------------------------------------------------------"
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pgsql
@ ${GMAKE} -C ${WRKDIR}/${DISTNAME}/doc install

View file

@ -23,18 +23,19 @@ BROKEN= doesn\'t build on the alpha yet
Y2K= http://www.postgresql.org/y2k.html
# if you want to use the tcl/tk frontend pgaccess, then you need to build
# postgresql with tcl support by typing: make USE_TCL=yes
.if defined(USE_TCL)
# postgresql with tcl support by typing: make WITH_TCL=yes
.if defined(WITH_TCL)
TCL_INCDIR= ${LOCALBASE}/include/tcl8.0
TK_INCDIR= ${LOCALBASE}/include/tk8.0
MAKE_ENV= USE_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 tk80.1:${PORTSDIR}/x11-toolkits/tk80
WITH_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
MAKE_ENV= WITH_TCL=true TCL_INCDIR=${TCL_INCDIR}
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80 \
tk80.1:${PORTSDIR}/x11-toolkits/tk80
CONFIGURE_TCL= --with-tcl --with-tclconfig="${LOCALBASE}/lib/tcl8.0 ${LOCALBASE}/lib/tk8.0"
.endif
# if you want jdbc, type make USE_JDBC=yes
# if you want jdbc, type make WITH_JDBC=yes
# Honors JAVA_HOME if you have it set, and don't want the dependency.
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
JAVA_HOME?= ${LOCALBASE}/jdk1.1.8
BUILD_DEPENDS= ${JAVA_HOME}/bin/javac:${PORTSDIR}/java/jdk
#MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
@ -50,7 +51,8 @@ HAS_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}/pgsql \
--enable-locale \
--with-template=`uname -s | ${TR} '[A-Z]' '[a-z]'` \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" ${WITH_TCL} \
--with-includes="${PREFIX}/include ${TCL_INCDIR} ${TK_INCDIR}" \
${CONFIGURE_TCL} \
--with-libraries=${PREFIX}/lib
INSTALL_TARGET= install install-man
@ -79,22 +81,20 @@ MANPREFIX= ${PREFIX}/pgsql
pre-fetch:
@${ECHO_MSG} "To install and run postgresql you need to compile kernel with:"
@${ECHO_MSG} " options \"SYSVSHM, SYSVSEM, SYSVMSG\""
.if !defined(USE_TCL)
.if !defined(WITH_TCL)
@${ECHO_MSG} "To build the \"PostgreSQL to Tcl interface library\", libpgtcl, type:"
@${ECHO_MSG} " make USE_TCL=yes"
@${ECHO_MSG} " make WITH_TCL=yes"
.else
@${ECHO_MSG} "Building PostgreSQL with \"libpgtcl\"."
.endif
.if !defined(USE_JDBC)
.if !defined(WITH_JDBC)
@ ${ECHO_MSG} "To build Java (JDBC) support, type:"
@ ${ECHO_MSG} " make USE_JDBC=yes"
@ ${ECHO_MSG} " make WITH_JDBC=yes"
.else
@ ${ECHO_MSG} "Building PostgreSQL with \"postgresql.jar\"."
.endif
post-patch:
@ ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.orig
@ ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \
-e 's#USE_LOCALE:no#USE_LOCALE:yes#' \
@ -103,9 +103,8 @@ post-patch:
@ ${SED} -e 's=!!PREFIX!!=${PREFIX}=g' \
${WRKSRC}/Makefile.global.in.old \
>> ${WRKSRC}/Makefile.global.in
# pgaccess (accidentally?) removed from distribution, so leave it for now
#.if defined(USE_TCL)
#.if defined(WITH_TCL)
# @ ${MV} ${WRKSRC}/bin/pgaccess/pgaccess.tcl \
# ${WRKSRC}/bin/pgaccess/pgaccess.tcl.orig
# @ ${SED} -e "s=/usr/bin/wish=`/usr/bin/which wish8.0`=" \
@ -114,14 +113,12 @@ post-patch:
#.endif
post-build:
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE}
.if !defined(NOPORTDOCS)
@ cd ${WRKSRC}/interfaces/jdbc && ${GMAKE} examples
.endif
.endif
@ ${ECHO} "------------------------------------------------------------"
@ ${ECHO} "Dump existing databases, before installing new db version !!"
@ ${ECHO} "Detailed instructions, see"
@ -167,14 +164,12 @@ post-install:
@ ${CHMOD} 554 ${PREFIX}/etc/rc.d/pgsql.sh
@ ${CHOWN} root.pgsql ${PREFIX}/etc/rc.d/pgsql.sh
@ ${INSTALL_DATA} ${FILESDIR}/post-install-notes ${PREFIX}/pgsql
.if defined(USE_TCL)
${CP} ${TMPPLIST} ${TMPPLIST}.notcl
${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
${RM} ${TMPPLIST}.notcl
.if defined(WITH_TCL)
@${CP} ${TMPPLIST} ${TMPPLIST}.notcl
@${CAT} ${PKGDIR}/PLIST.tcl ${TMPPLIST}.notcl > ${TMPPLIST}
@${RM} ${TMPPLIST}.notcl
.endif
.if defined(USE_JDBC)
.if defined(WITH_JDBC)
@ ${MKDIR} -m 0555 ${PREFIX}/share/java
@ ${INSTALL_DATA} ${WRKSRC}/interfaces/jdbc/postgresql.jar \
${PREFIX}/share/java/postgresql.jar
@ -194,7 +189,6 @@ post-install:
@ ${ECHO_MSG} "---------------------------------------------------------"
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pgsql
@ ${GMAKE} -C ${WRKDIR}/${DISTNAME}/doc install

View file

@ -13,7 +13,7 @@ MASTER_SITES= http://www.cse.unl.edu/~cluening/gaddr/
MAINTAINER= jim@FreeBSD.org
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
LIB_DEPENDS+= gnome.3:${PORTSDIR}/x11/gnomelibs
.endif
@ -22,7 +22,7 @@ GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
CONFIGURE_ARGS+= --enable-gnome
.endif

View file

@ -12,7 +12,7 @@ MASTER_SITES= http://glade.pn.org/
MAINTAINER= ade@FreeBSD.org
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
LIB_DEPENDS= gnome.3:${PORTSDIR}/x11/gnomelibs
PLIST_GNOME= ${PKGDIR}/PLIST.gnome
.else
@ -32,13 +32,13 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/libs"
.if !defined(USE_GNOME)
.if !defined(WITH_GNOME)
pre-extract:
@${ECHO} "You can add hooks for GNOME by defining USE_GNOME"
@${ECHO} "You can add hooks for GNOME by defining WITH_GNOME"
.endif
post-patch:
.if !defined(USE_GNOME)
.if !defined(WITH_GNOME)
@cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-nognome
.endif

View file

@ -12,7 +12,7 @@ MASTER_SITES= http://glade.pn.org/
MAINTAINER= ade@FreeBSD.org
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
LIB_DEPENDS= gnome.3:${PORTSDIR}/x11/gnomelibs
PLIST_GNOME= ${PKGDIR}/PLIST.gnome
.else
@ -32,13 +32,13 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/libs"
.if !defined(USE_GNOME)
.if !defined(WITH_GNOME)
pre-extract:
@${ECHO} "You can add hooks for GNOME by defining USE_GNOME"
@${ECHO} "You can add hooks for GNOME by defining WITH_GNOME"
.endif
post-patch:
.if !defined(USE_GNOME)
.if !defined(WITH_GNOME)
@cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-nognome
.endif

View file

@ -22,7 +22,7 @@ MAINTAINER= will@FreeBSD.org
LIB_DEPENDS= kdeui.3:${PORTSDIR}/x11/kdelibs11
RUN_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf
.if defined(USE_OPTIONAL_DEPENDS)
.if defined(WITH_OPTIONAL_DEPENDS)
RUN_DEPENDS+= automake:${PORTSDIR}/devel/automake \
kdbg:${PORTSDIR}/devel/kdbg \
${LOCALBASE}/share/doc/HTML/en/kdelibs/kdecore/index.html:${PORTSDIR}/devel/kdelibdocs \
@ -45,9 +45,9 @@ SOMAJOR= 1
PLIST_SUB+= LIBVER="${SOMAJOR}"
pre-patch:
.if !defined(USE_OPTIONAL_DEPENDS)
.if !defined(WITH_OPTIONAL_DEPENDS)
@${ECHO}
@${ECHO} "You may define USE_OPTIONAL_DEPENDS (make USE_OPTIONAL_DEPENDS=YES)"
@${ECHO} "You may define WITH_OPTIONAL_DEPENDS (make WITH_OPTIONAL_DEPENDS=YES)"
@${ECHO} "to automatically build the suggested programs to compliment kdevelop."
@${ECHO}
@sleep 1

View file

@ -18,21 +18,21 @@ MANN= tclreadline.n
.include <bsd.port.pre.mk>
.if (!defined(USE_TCL80) && !defined(USE_TCL82))
.if (!defined(WITH_TCL80) && !defined(WITH_TCL82))
.if exists(${PREFIX}/bin/tclsh8.0)
USE_TCL80= YES
WITH_TCL80= yes
.else
USE_TCL82= YES
WITH_TCL82= yes
.endif
.endif
.if defined(USE_TCL80)
.if defined(WITH_TCL80)
LIB_DEPENDS= tcl80.1:${PORTSDIR}/lang/tcl80
CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.0 --with-tcl-includes=${PREFIX}/include/tcl8.0
TCLVERMSG= "Building for Tcl 8.0"
.endif
.if defined(USE_TCL82)
.if defined(WITH_TCL82)
LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.2 --with-tcl-includes=${PREFIX}/include/tcl8.2
TCLVERMSG= "Building for Tcl 8.2"
@ -40,7 +40,7 @@ TCLVERMSG= "Building for Tcl 8.2"
pre-fetch:
@${ECHO} ${TCLVERMSG}
@${ECHO} "Define USE_TCL80, or USE_TCL82"
@${ECHO} "Define WITH_TCL80, or WITH_TCL82"
@${ECHO} "To compile against a different version of TCL"
.include <bsd.port.post.mk>

View file

@ -20,13 +20,13 @@ CONFIGURE_ARGS= --bindir=${PREFIX}/bin --datadir=${PREFIX}/share/elvis
MAN1= elvis.1 elvtags.1 ref.1
# Support building on systems with or without X11 installed.
.if defined(NO_X11)
.if defined(WITHOUT_X11)
CONFIGURE_ARGS+= --with-x=no
.else
USE_XLIB= yes
pre-fetch:
@${ECHO_MSG} "To build this port without X11, define \"NO_X11\"."
@${ECHO_MSG} "To build this port without X11, define \"WITHOUT_X11\"."
.endif
pre-configure:

View file

@ -22,7 +22,7 @@ NO_LATEST_LINK= yes
WRKSRC= ${WRKDIR}/emacs-19.34
GNU_CONFIGURE= yes
USE_GMAKE= yes
.if !defined(NO_X11)
.if !defined(WITHOUT_X11)
CONFIGURE_ARGS= --with-x-toolkit --sharedstatedir=/var/run
USE_XLIB= yes
.else

View file

@ -22,7 +22,7 @@ NO_LATEST_LINK= yes
WRKSRC= ${WRKDIR}/emacs-19.34
GNU_CONFIGURE= yes
USE_GMAKE= yes
.if !defined(NO_X11)
.if !defined(WITHOUT_X11)
CONFIGURE_ARGS= --with-x-toolkit --sharedstatedir=/var/run
USE_XLIB= yes
.else

View file

@ -28,7 +28,7 @@ USE_GMAKE= yes
MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
EMACS_VER= 20.6
CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd
.if !defined(NO_X11)
.if !defined(WITHOUT_X11)
CONFIGURE_ARGS= --with-x-toolkit --with-pop
USE_XLIB= yes
.else
@ -43,11 +43,9 @@ PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${CONFIGURE_TARGET} \
SCRIPTS_ENV= SED=${SED} MV=${MV} \
DOC_FILE=${DOC_FILE}
.if defined(USE_XPG4)
.if (${USE_XPG4} == "YES" || ${USE_XPG4} == "yes")
.if defined(WITH_XPG4)
CONFIGURE_ARGS+= --with-xpg4
.endif
.endif
pre-build:
@${RM} -rf ${WRKSRC}/info/*

View file

@ -15,7 +15,7 @@ warning message may be displayed:
Warning: locale not supported by C library, locale unchanged
If you complain about this message, type `make install USE_XPG4=YES'
If you complain about this message, type `make install WITH_XPG4=yes'
at the "${PORTSDIR}/editors/japanese" directory to re-make this package.
WWW: http://www.m17n.org/mule/dynamic-loading/

View file

@ -7,7 +7,7 @@
Warning: locale not supported by C library, locale unchanged
If you complain about this message, type `make install USE_XPG4=YES'
If you complain about this message, type `make install WITH_XPG4=yes'
at the "${PORTSDIR}/editors/emacs20-dl" directory to re-make this package.
****************************************************************************

View file

@ -18,7 +18,7 @@ Y2K= http://www.gnu.org/software/year2000.html
USE_AUTOCONF= yes
USE_GMAKE= yes
CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd
.if !defined(NO_X11)
.if !defined(WITHOUT_X11)
CONFIGURE_ARGS= --with-x-toolkit --with-pop
USE_XLIB= yes
.else
@ -30,16 +30,14 @@ MAN1= emacs.1 etags.1 ctags.1
PLIST_SUB= EMACS_VER=20.6 EMACS_ARCH=${CONFIGURE_TARGET}
WRKSRC= ${WRKDIR}/emacs-20.6
.if defined(USE_XPG4)
.if (${USE_XPG4} == "YES" || ${USE_XPG4} == "yes")
.if defined(WITH_XPG4)
CONFIGURE_ARGS+= --with-xpg4
.endif
.endif
pre-fetch:
.if !defined(USE_XPG4)
.if !defined(WITH_XPG4)
@${ECHO_MSG} "NOTE: You can have international locale library support "
@${ECHO_MSG} "by adding \"USE_XPG4=YES\" to argument of make."
@${ECHO_MSG} "by adding \"WITH_XPG4=yes\" to argument of make."
.endif
pre-build:

View file

@ -22,7 +22,7 @@ NO_LATEST_LINK= yes
WRKSRC= ${WRKDIR}/emacs-19.34
GNU_CONFIGURE= yes
USE_GMAKE= yes
.if !defined(NO_X11)
.if !defined(WITHOUT_X11)
CONFIGURE_ARGS= --with-x-toolkit --sharedstatedir=/var/run
USE_XLIB= yes
.else

View file

@ -22,7 +22,7 @@ NO_LATEST_LINK= yes
WRKSRC= ${WRKDIR}/emacs-19.34
GNU_CONFIGURE= yes
USE_GMAKE= yes
.if !defined(NO_X11)
.if !defined(WITHOUT_X11)
CONFIGURE_ARGS= --with-x-toolkit --sharedstatedir=/var/run
USE_XLIB= yes
.else

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -18,15 +18,15 @@ MAKEFILE= makefile
GNU_CONFIGURE= yes
MAN1= vile.1
.if defined(USE_PERL)
.if defined(WITH_PERL)
CONFIGURE_ARGS= --with-perl
PLIST= ${PKGDIR}/PLIST.perl
USE_PERL5= yes
.endif
pre-configure:
.if ! defined(USE_PERL)
@${ECHO_MSG} "Define USE_PERL if you want to make a vile which includes"
.if ! defined(WITH_PERL)
@${ECHO_MSG} "Define WITH_PERL if you want to make a vile which includes"
@${ECHO_MSG} "PERL functionality"
.endif
@ -38,7 +38,7 @@ post-install:
@if ! [ -d ${PREFIX}/share/vile/macros ]; then ${MKDIR} ${PREFIX}/share/vile/macros; fi
${INSTALL_DATA} ${WRKSRC}/macros/*.rc ${PREFIX}/share/vile/macros
${INSTALL_SCRIPT} ${WRKSRC}/macros/vile-pager ${PREFIX}/share/vile/macros
.if defined(USE_PERL)
.if defined(WITH_PERL)
${INSTALL_DATA} ${WRKSRC}/*.doc ${PREFIX}/share/doc/vile
.endif
@${ECHO_MSG} "Look in ${PREFIX}/share/doc/vile for documentation."

View file

@ -43,7 +43,7 @@ PLIST_SUB= XEMACS_VER=20.4 XEMACS_ARCH=${XEMACS_ARCH}
# Have
pre-configure:
@${ECHO_MSG} "To compile in the MULE features, set the environment variable USE_MULE"
@${ECHO_MSG} "To compile in the MULE features, set the environment variable WITH_MULE"
.if defined(HAVE_MOTIF)
@${ECHO_MSG} ""
@${ECHO_MSG} "If your MOTIF library is actually lesstif, you might occasionally"
@ -52,7 +52,7 @@ pre-configure:
@${ECHO_MSG} "which will force the use of athena widgets for dialogs."
.endif
.if defined(USE_MULE)
.if defined(WITH_MULE)
WITH_MULE= --with-mule
MULEDISTFILE= ${DISTNAME}-mule.tar.gz
PLIST= ${PKGDIR}/PLIST.mule

View file

@ -18,25 +18,24 @@ MAINTAINER= gj@freebsd.org
USE_XLIB= yes
MAKEFILE= makefile
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-screen=${SCREEN_TYPE} ${WITH_PERL}
MAN1= xvile.1
pre-configure:
.if ! defined(USE_MENUS)
@${ECHO_MSG} "To use xvile with menus, set the environment variable USE_MENUS"
.if ! defined(WITH_MENUS)
@${ECHO_MSG} "To use xvile with menus, set the environment variable WITH_MENUS"
.endif
.if ! defined(USE_PERL)
@${ECHO_MSG} "To use xvile with PERL, set the environment variable USE_PERL"
.if ! defined(WITH_PERL)
@${ECHO_MSG} "To use xvile with PERL, set the environment variable WITH_PERL"
.endif
.if defined(USE_MENUS)
SCREEN_TYPE= Xaw
.if defined(WITH_MENUS)
CONFIGURE_ARGS= --with-screen=Xaw
.else
SCREEN_TYPE= x11
CONFIGURE_ARGS= --with-screen=x11
.endif
.if defined(USE_PERL)
WITH_PERL= --with-perl
.if defined(WITH_PERL)
CONFIGURE_ARGS+= --with-perl
PLIST= ${PKGDIR}/PLIST.perl
USE_PERL5= yes
.endif
@ -49,7 +48,7 @@ post-install:
@if ! [ -d ${PREFIX}/share/vile/macros ]; then ${MKDIR} ${PREFIX}/share/vile/macros; fi
${INSTALL_DATA} ${WRKSRC}/macros/*.rc ${PREFIX}/share/vile/macros
${INSTALL_SCRIPT} ${WRKSRC}/macros/vile-pager ${PREFIX}/share/vile/macros
.if defined(USE_PERL)
.if defined(WITH_PERL)
${INSTALL_DATA} ${WRKSRC}/*.doc ${PREFIX}/share/doc/vile
.endif
@${ECHO_MSG} "Look in ${PREFIX}/share/doc/vile for documentation."

View file

@ -19,14 +19,14 @@ USE_GMAKE= yes
DATAFILES= FAQ FORMAT GET-IMAGE HELP HISTORY LIST MANUAL QUASI88
pre-patch:
.if !defined(USE_SOUND)
@ ${ECHO} "You can make quasi88 use sound by defining USE_SOUND"
.if !defined(WITH_SOUND)
@ ${ECHO} "You can make quasi88 use sound by defining WITH_SOUND"
.else
@ ${CP} ${FILESDIR}/patch-aa ${PATCHDIR}
.endif
post-patch:
.if defined(USE_SOUND)
.if defined(WITH_SOUND)
@ ${RM} ${PATCHDIR}/patch-aa
.endif

View file

@ -17,7 +17,7 @@ MASTER_SITES= http://curl.haxx.nu/stuff/ \
MAINTAINER= kris@FreeBSD.org
.if defined(USE_SSL)
.if defined(WITH_SSL)
USE_OPENSSL= RSA
.endif

View file

@ -20,7 +20,7 @@ MAINTAINER= ports@FreeBSD.org
USE_AUTOCONF= yes
.if defined(NO_X11)
.if defined(WIITHOUT_X11)
CONFIGURE_ARGS= --disable-gtk
.else
CONFIGURE_ARGS= --with-xpm-includes=${X11BASE}/include --disable-gtk
@ -29,7 +29,7 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
USE_GMAKE= yes
.if defined(USE_SSL)
.if defined(WITH_SSL)
USE_OPENSSL= RSA
.else
CONFIGURE_ARGS+= --disable-ssl

View file

@ -20,9 +20,8 @@ MAN6= acm.6
.include <bsd.port.pre.mk>
# Include sound support (Use network audio server (nas))
.if defined(USE_SOUND) && ${USE_SOUND} == YES || \
exists(${PREFIX}/lib/libaudio.a) && \
(!defined(USE_SOUND) || ${USE_SOUND} != NO)
.if defined(WITH_SOUND) || (exists(${PREFIX}/lib/libaudio.a) \
&& !defined(WITHOUT_SOUND))
LIB_DEPENDS+= audio.7:${PORTSDIR}/audio/nas
.endif

View file

@ -10,20 +10,20 @@ PORTVERSION= 1.10.0
CATEGORIES= games
MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable_version/ \
ftp://ftp.pvv.ntnu.no/pub/freeciv/stable_version/
.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes)
.if defined(WITH_GTK)
PKGNAMESUFFIX= -gtk
.endif
MAINTAINER= sheldonh@freebsd.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
.if defined(USE_GTK)
.if defined(WITH_GTK)
LIB_DEPENDS+= Imlib.5:${PORTSDIR}/graphics/imlib
.endif
USE_BZIP2= yes
GNU_CONFIGURE= yes
.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes)
.if defined(WITH_GTK)
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
.else

View file

@ -10,20 +10,20 @@ PORTVERSION= 1.10.0
CATEGORIES= games
MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable_version/ \
ftp://ftp.pvv.ntnu.no/pub/freeciv/stable_version/
.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes)
.if defined(WITH_GTK)
PKGNAMESUFFIX= -gtk
.endif
MAINTAINER= sheldonh@freebsd.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
.if defined(USE_GTK)
.if defined(WITH_GTK)
LIB_DEPENDS+= Imlib.5:${PORTSDIR}/graphics/imlib
.endif
USE_BZIP2= yes
GNU_CONFIGURE= yes
.if defined(USE_GTK) && (${USE_GTK} == YES || ${USE_GTK} == yes)
.if defined(WITH_GTK)
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
.else

View file

@ -14,7 +14,7 @@ DISTNAME= quakeforge
MAINTAINER= darius@dons.net.au
.if defined(USE_GLX)
.if defined(WITH_GLX)
LIB_DEPENDS= GL.1:${PORTSDIR}/graphics/glx
.else
CONFIGURE_ARGS+= --without-opengl
@ -38,8 +38,8 @@ USE_XLIB= yes
PLIST= ${WRKDIR}/PLIST
pre-fetch:
.if !defined(USE_GLX)
@${ECHO_MSG} "Define USE_GLX to use GLX (otherwise it is explicitly disabled!)"
.if !defined(WITH_GLX)
@${ECHO_MSG} "Define WITH_GLX to use GLX (otherwise it is explicitly disabled!)"
.endif
.if defined(BATCH)
@ -125,14 +125,14 @@ do-extract:
pre-configure:
@${CP} ${PKGDIR}/PLIST ${PLIST}
.if defined(USE_GLX)
.if defined(WITH_GLX)
${CAT} ${PKGDIR}/PLIST.glx >>${PLIST}
.endif
cd ${WRKSRC}; \
autoheader;
BINARIES= quake-x11 qw-client-x11 qw-server
.if defined(USE_GLX)
.if defined(WITH_GLX)
BINARIES+= quake-gl qw-client-gl
.endif

View file

@ -33,18 +33,18 @@ WRKSRC= ${WRKDIR}/so51inst
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(${CD_MOUNTPT}/linux/office51/setup.zip)
IGNORE= "Bitte mounten Sie die Sun StarOffice 5.1 CDROM and starten Sie make erneut."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Bitte laden Sie ${DISTNAME}${EXTRACT_SUFX} manuell von http://www.sun.com/staroffice herunter. Kopieren Sie ${DISTNAME}${EXTRACT_SUFX} in das Verzeichnis ${_DISTDIR} und starten Sie make erneut. Wenn Sie die StarOffice 5.1 CDROM besitzen, koennen Sie auch 'make USE_CDROM=yes' ausfuehren."
IGNORE="Bitte laden Sie ${DISTNAME}${EXTRACT_SUFX} manuell von http://www.sun.com/staroffice herunter. Kopieren Sie ${DISTNAME}${EXTRACT_SUFX} in das Verzeichnis ${_DISTDIR} und starten Sie make erneut. Wenn Sie die StarOffice 5.1 CDROM besitzen, koennen Sie auch 'make WITH_CDROM=yes' ausfuehren."
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s ${CD_MOUNTPT}/linux/office51/* .

View file

@ -33,18 +33,18 @@ WRKSRC= ${WRKDIR}/so51inst
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(${CD_MOUNTPT}/linux/office51/setup.zip)
IGNORE= "Bitte mounten Sie die Sun StarOffice 5.1 CDROM and starten Sie make erneut."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Bitte laden Sie ${DISTNAME}${EXTRACT_SUFX} manuell von http://www.sun.com/staroffice herunter. Kopieren Sie ${DISTNAME}${EXTRACT_SUFX} in das Verzeichnis ${_DISTDIR} und starten Sie make erneut. Wenn Sie die StarOffice 5.1 CDROM besitzen, koennen Sie auch 'make USE_CDROM=yes' ausfuehren."
IGNORE="Bitte laden Sie ${DISTNAME}${EXTRACT_SUFX} manuell von http://www.sun.com/staroffice herunter. Kopieren Sie ${DISTNAME}${EXTRACT_SUFX} in das Verzeichnis ${_DISTDIR} und starten Sie make erneut. Wenn Sie die StarOffice 5.1 CDROM besitzen, koennen Sie auch 'make WITH_CDROM=yes' ausfuehren."
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s ${CD_MOUNTPT}/linux/office51/* .

View file

@ -35,18 +35,18 @@ TMPDIR= ${WRKDIR}/tmp
.include <bsd.port.pre.mk>
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
.if !exists(/cdrom/linux/office51/setup.zip)
IGNORE="Please mount the Sun StarOffice 5.1 CDROM onto /cdrom and run make again."
.endif
.else # FTP/web download
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make USE_CDROM=yes'"
IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://www.sun.com/staroffice. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.1 CDROM, please run 'make WITH_CDROM=yes'"
.endif
.endif
.if defined(USE_CDROM)
.if defined(WITH_CDROM)
do-extract:
@${MKDIR} ${WRKSRC}/office51
@cd ${WRKSRC}/office51 && ${LN} -s /cdrom/linux/office51/* .

View file

@ -15,14 +15,14 @@ MAINTAINER= ports@FreeBSD.org
USE_AUTOCONF= yes
USE_LIBTOOL= yes
.include <bsd.port.pre.mk>
#
# Support for X11 is compiled in by default only if X11 is installed.
#
.if !exists(${X11BASE})
NO_X11?= yes
.endif
.if !defined(NO_X11)
USE_XLIB=YES
.if defined(WITH_X11) || (exists(${X11BASE}/lib/libX11.a) \
&& !defined(WITHOUT_X11))
USE_XLIB= yes
CONFIGURE_ARGS= --with-x --x-includes="${X11BASE}/include" \
--x-libraries="${X11BASE}/lib"
.else
@ -32,7 +32,4 @@ CONFIGURE_ARGS= --with-x11-driver=no
post-patch:
@${PERL} -pi -e "s:/usr/local:${LOCALBASE}:g;" ${WRKSRC}/configure.in
post-install:
@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View file

@ -15,7 +15,7 @@ MAINTAINER= billf@FreeBSD.org
LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg
.if defined(WANT_X11)
.if defined(WITH_X11)
LIB_DEPENDS+= ttf.4:${PORTSDIR}/print/freetype \
Xpm.4:${PORTSDIR}/graphics/xpm
@ -23,9 +23,9 @@ USE_XLIB= YES
.endif
pre-fetch:
.if !defined(WANT_X11)
.if !defined(WITH_X11)
@${ECHO} -n "If you want to compile in X support use "
@${ECHO} "'make -DWANT_X11' instead"
@${ECHO} "'make -DWITH_X11' instead"
.endif
pre-install:

View file

@ -24,7 +24,7 @@
#If you do have FreeType, libjpeg and/or Xpm fully installed, uncomment a
#variation of this and comment out the line above. See also LIBS below.
-#CFLAGS=-O -DHAVE_XPM -DHAVE_JPEG -DHAVE_LIBTTF
+.if defined(WANT_X11)
+.if defined(WITH_X11)
+CFLAGS+=-DHAVE_XPM -DHAVE_JPEG -DHAVE_LIBTTF
+.else
+CFLAGS+=-DHAVE_JPEG
@ -39,7 +39,7 @@
#variation of this and comment out the line above. Note that
#Xpm requires X11. See also CFLAGS above.
-#LIBS=-lm -lgd -lpng -lz -ljpeg -lttf -lXpm -lX11
+.if defined(WANT_X11)
+.if defined(WITH_X11)
+LIBS=-lm -lgd -lpng -lz -ljpeg -lttf -lXpm -lX11
+.endif
@ -47,7 +47,7 @@
#If yours are somewhere else, change this.
-INCLUDEDIRS=-I/usr/local/include -I/usr/include/X11 -I/usr/X11R6/include/X11
+CFLAGS+=-I$(LOCALBASE)/include
+.if defined(WANT_X11)
+.if defined(WITH_X11)
+CFLAGS+=-I$(LOCALBASE)/include/freetype -I$(X11BASE)/include -I$(X11BASE)/include/X11
+.endif
@ -59,7 +59,7 @@
#on your system can't cause conflicts while building a new one.
-LIBDIRS=-L. -L/usr/local/lib -L/usr/lib/X11 -L/usr/X11R6/lib
+LIBDIRS=-L. -L$(LOCALBASE)/lib
+.if defined(WANT_X11)
+.if defined(WITH_X11)
+LIBDIRS+=-L$(X11BASE)/lib
+.endif

View file

@ -15,7 +15,7 @@ MAINTAINER= billf@FreeBSD.org
LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg
.if defined(WANT_X11)
.if defined(WITH_X11)
LIB_DEPENDS+= ttf.4:${PORTSDIR}/print/freetype \
Xpm.4:${PORTSDIR}/graphics/xpm
@ -23,9 +23,9 @@ USE_XLIB= YES
.endif
pre-fetch:
.if !defined(WANT_X11)
.if !defined(WITH_X11)
@${ECHO} -n "If you want to compile in X support use "
@${ECHO} "'make -DWANT_X11' instead"
@${ECHO} "'make -DWITH_X11' instead"
.endif
pre-install:

View file

@ -24,7 +24,7 @@
#If you do have FreeType, libjpeg and/or Xpm fully installed, uncomment a
#variation of this and comment out the line above. See also LIBS below.
-#CFLAGS=-O -DHAVE_XPM -DHAVE_JPEG -DHAVE_LIBTTF
+.if defined(WANT_X11)
+.if defined(WITH_X11)
+CFLAGS+=-DHAVE_XPM -DHAVE_JPEG -DHAVE_LIBTTF
+.else
+CFLAGS+=-DHAVE_JPEG
@ -39,7 +39,7 @@
#variation of this and comment out the line above. Note that
#Xpm requires X11. See also CFLAGS above.
-#LIBS=-lm -lgd -lpng -lz -ljpeg -lttf -lXpm -lX11
+.if defined(WANT_X11)
+.if defined(WITH_X11)
+LIBS=-lm -lgd -lpng -lz -ljpeg -lttf -lXpm -lX11
+.endif
@ -47,7 +47,7 @@
#If yours are somewhere else, change this.
-INCLUDEDIRS=-I/usr/local/include -I/usr/include/X11 -I/usr/X11R6/include/X11
+CFLAGS+=-I$(LOCALBASE)/include
+.if defined(WANT_X11)
+.if defined(WITH_X11)
+CFLAGS+=-I$(LOCALBASE)/include/freetype -I$(X11BASE)/include -I$(X11BASE)/include/X11
+.endif
@ -59,7 +59,7 @@
#on your system can't cause conflicts while building a new one.
-LIBDIRS=-L. -L/usr/local/lib -L/usr/lib/X11 -L/usr/X11R6/lib
+LIBDIRS=-L. -L$(LOCALBASE)/lib
+.if defined(WANT_X11)
+.if defined(WITH_X11)
+LIBDIRS+=-L$(X11BASE)/lib
+.endif

View file

@ -15,7 +15,7 @@ MAINTAINER= billf@FreeBSD.org
LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg
.if defined(WANT_X11)
.if defined(WITH_X11)
LIB_DEPENDS+= ttf.4:${PORTSDIR}/print/freetype \
Xpm.4:${PORTSDIR}/graphics/xpm
@ -23,9 +23,9 @@ USE_XLIB= YES
.endif
pre-fetch:
.if !defined(WANT_X11)
.if !defined(WITH_X11)
@${ECHO} -n "If you want to compile in X support use "
@${ECHO} "'make -DWANT_X11' instead"
@${ECHO} "'make -DWITH_X11' instead"
.endif
pre-install:

View file

@ -24,7 +24,7 @@
#If you do have FreeType, libjpeg and/or Xpm fully installed, uncomment a
#variation of this and comment out the line above. See also LIBS below.
-#CFLAGS=-O -DHAVE_XPM -DHAVE_JPEG -DHAVE_LIBTTF
+.if defined(WANT_X11)
+.if defined(WITH_X11)
+CFLAGS+=-DHAVE_XPM -DHAVE_JPEG -DHAVE_LIBTTF
+.else
+CFLAGS+=-DHAVE_JPEG
@ -39,7 +39,7 @@
#variation of this and comment out the line above. Note that
#Xpm requires X11. See also CFLAGS above.
-#LIBS=-lm -lgd -lpng -lz -ljpeg -lttf -lXpm -lX11
+.if defined(WANT_X11)
+.if defined(WITH_X11)
+LIBS=-lm -lgd -lpng -lz -ljpeg -lttf -lXpm -lX11
+.endif
@ -47,7 +47,7 @@
#If yours are somewhere else, change this.
-INCLUDEDIRS=-I/usr/local/include -I/usr/include/X11 -I/usr/X11R6/include/X11
+CFLAGS+=-I$(LOCALBASE)/include
+.if defined(WANT_X11)
+.if defined(WITH_X11)
+CFLAGS+=-I$(LOCALBASE)/include/freetype -I$(X11BASE)/include -I$(X11BASE)/include/X11
+.endif
@ -59,7 +59,7 @@
#on your system can't cause conflicts while building a new one.
-LIBDIRS=-L. -L/usr/local/lib -L/usr/lib/X11 -L/usr/X11R6/lib
+LIBDIRS=-L. -L$(LOCALBASE)/lib
+.if defined(WANT_X11)
+.if defined(WITH_X11)
+LIBDIRS+=-L$(X11BASE)/lib
+.endif

View file

@ -15,7 +15,7 @@ MASTER_SITES= ftp://ftp.gimp.org/pub/gimp/unstable/v${PORTVERSION}/ \
MAINTAINER= vanilla@FreeBSD.org
.if defined(USE_PERL)
.if !defined(WITHOUT_PERL)
BUILD_DEPENDS= perldl:${PORTSDIR}/math/PDL \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
RUN_DEPENDS= perldl:${PORTSDIR}/math/PDL \
@ -39,7 +39,7 @@ USE_GMAKE= yes
USE_LIBTOOL= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
.if !defined(USE_PERL)
.if defined(WITHOUT_PERL)
CONFIGURE_ARGS= --disable-perl
.endif
@ -51,11 +51,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gimp.1 gimptool.1
MAN5= gimprc.5
.if !defined(WITH_GNOME) && exists(${X11BASE}/bin/gnome-config)
WITH_GNOME= yes
.endif
.if !defined(USE_PERL)
.if defined(WITHOUT_PERL)
PLISTORIG= ${PKGDIR}/PLIST
PLIST= ${WRKDIR}/PLIST
.else
@ -66,7 +62,8 @@ pre-fetch:
@${ECHO} "'make -DWITHOUT_PERL' instead"
.endif
.if defined(WITH_GNOME) && ${WITH_GNOME} == yes
.if defined(WITH_GNOME) || (exists(${X11BASE}/bin/gnome-config) \
&& !defined(WITHOUT_GNOME))
LIB_DEPENDS+= gtkxmhtml.3:${PORTSDIR}/x11/gnomelibs
pre-install:
@${CAT} ${PLISTORIG} > ${PLIST}

View file

@ -15,7 +15,7 @@ MASTER_SITES= ftp://ftp.gimp.org/pub/gimp/unstable/v${PORTVERSION}/ \
MAINTAINER= vanilla@FreeBSD.org
.if defined(USE_PERL)
.if !defined(WITHOUT_PERL)
BUILD_DEPENDS= perldl:${PORTSDIR}/math/PDL \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
RUN_DEPENDS= perldl:${PORTSDIR}/math/PDL \
@ -39,7 +39,7 @@ USE_GMAKE= yes
USE_LIBTOOL= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
.if !defined(USE_PERL)
.if defined(WITHOUT_PERL)
CONFIGURE_ARGS= --disable-perl
.endif
@ -51,11 +51,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gimp.1 gimptool.1
MAN5= gimprc.5
.if !defined(WITH_GNOME) && exists(${X11BASE}/bin/gnome-config)
WITH_GNOME= yes
.endif
.if !defined(USE_PERL)
.if defined(WITHOUT_PERL)
PLISTORIG= ${PKGDIR}/PLIST
PLIST= ${WRKDIR}/PLIST
.else
@ -66,7 +62,8 @@ pre-fetch:
@${ECHO} "'make -DWITHOUT_PERL' instead"
.endif
.if defined(WITH_GNOME) && ${WITH_GNOME} == yes
.if defined(WITH_GNOME) || (exists(${X11BASE}/bin/gnome-config) \
&& !defined(WITHOUT_GNOME))
LIB_DEPENDS+= gtkxmhtml.3:${PORTSDIR}/x11/gnomelibs
pre-install:
@${CAT} ${PLISTORIG} > ${PLIST}

View file

@ -15,7 +15,7 @@ MASTER_SITES= ftp://ftp.gimp.org/pub/gimp/unstable/v${PORTVERSION}/ \
MAINTAINER= vanilla@FreeBSD.org
.if defined(USE_PERL)
.if !defined(WITHOUT_PERL)
BUILD_DEPENDS= perldl:${PORTSDIR}/math/PDL \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
RUN_DEPENDS= perldl:${PORTSDIR}/math/PDL \
@ -39,7 +39,7 @@ USE_GMAKE= yes
USE_LIBTOOL= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
.if !defined(USE_PERL)
.if defined(WITHOUT_PERL)
CONFIGURE_ARGS= --disable-perl
.endif
@ -51,11 +51,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gimp.1 gimptool.1
MAN5= gimprc.5
.if !defined(WITH_GNOME) && exists(${X11BASE}/bin/gnome-config)
WITH_GNOME= yes
.endif
.if !defined(USE_PERL)
.if defined(WITHOUT_PERL)
PLISTORIG= ${PKGDIR}/PLIST
PLIST= ${WRKDIR}/PLIST
.else
@ -66,7 +62,8 @@ pre-fetch:
@${ECHO} "'make -DWITHOUT_PERL' instead"
.endif
.if defined(WITH_GNOME) && ${WITH_GNOME} == yes
.if defined(WITH_GNOME) || (exists(${X11BASE}/bin/gnome-config) \
&& !defined(WITHOUT_GNOME))
LIB_DEPENDS+= gtkxmhtml.3:${PORTSDIR}/x11/gnomelibs
pre-install:
@${CAT} ${PLISTORIG} > ${PLIST}

View file

@ -15,7 +15,7 @@ MASTER_SITES= ftp://ftp.gimp.org/pub/gimp/unstable/v${PORTVERSION}/ \
MAINTAINER= vanilla@FreeBSD.org
.if defined(USE_PERL)
.if !defined(WITHOUT_PERL)
BUILD_DEPENDS= perldl:${PORTSDIR}/math/PDL \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
RUN_DEPENDS= perldl:${PORTSDIR}/math/PDL \
@ -39,7 +39,7 @@ USE_GMAKE= yes
USE_LIBTOOL= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
.if !defined(USE_PERL)
.if defined(WITHOUT_PERL)
CONFIGURE_ARGS= --disable-perl
.endif
@ -51,11 +51,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gimp.1 gimptool.1
MAN5= gimprc.5
.if !defined(WITH_GNOME) && exists(${X11BASE}/bin/gnome-config)
WITH_GNOME= yes
.endif
.if !defined(USE_PERL)
.if defined(WITHOUT_PERL)
PLISTORIG= ${PKGDIR}/PLIST
PLIST= ${WRKDIR}/PLIST
.else
@ -66,7 +62,8 @@ pre-fetch:
@${ECHO} "'make -DWITHOUT_PERL' instead"
.endif
.if defined(WITH_GNOME) && ${WITH_GNOME} == yes
.if defined(WITH_GNOME) || (exists(${X11BASE}/bin/gnome-config) \
&& !defined(WITHOUT_GNOME))
LIB_DEPENDS+= gtkxmhtml.3:${PORTSDIR}/x11/gnomelibs
pre-install:
@${CAT} ${PLISTORIG} > ${PLIST}

View file

@ -15,7 +15,7 @@ MASTER_SITES= ftp://ftp.gimp.org/pub/gimp/unstable/v${PORTVERSION}/ \
MAINTAINER= vanilla@FreeBSD.org
.if defined(USE_PERL)
.if !defined(WITHOUT_PERL)
BUILD_DEPENDS= perldl:${PORTSDIR}/math/PDL \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
RUN_DEPENDS= perldl:${PORTSDIR}/math/PDL \
@ -39,7 +39,7 @@ USE_GMAKE= yes
USE_LIBTOOL= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
.if !defined(USE_PERL)
.if defined(WITHOUT_PERL)
CONFIGURE_ARGS= --disable-perl
.endif
@ -51,11 +51,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gimp.1 gimptool.1
MAN5= gimprc.5
.if !defined(WITH_GNOME) && exists(${X11BASE}/bin/gnome-config)
WITH_GNOME= yes
.endif
.if !defined(USE_PERL)
.if defined(WITHOUT_PERL)
PLISTORIG= ${PKGDIR}/PLIST
PLIST= ${WRKDIR}/PLIST
.else
@ -66,7 +62,8 @@ pre-fetch:
@${ECHO} "'make -DWITHOUT_PERL' instead"
.endif
.if defined(WITH_GNOME) && ${WITH_GNOME} == yes
.if defined(WITH_GNOME) || (exists(${X11BASE}/bin/gnome-config) \
&& !defined(WITHOUT_GNOME))
LIB_DEPENDS+= gtkxmhtml.3:${PORTSDIR}/x11/gnomelibs
pre-install:
@${CAT} ${PLISTORIG} > ${PLIST}

View file

@ -15,7 +15,7 @@ MASTER_SITES= ftp://ftp.gimp.org/pub/gimp/unstable/v${PORTVERSION}/ \
MAINTAINER= vanilla@FreeBSD.org
.if defined(USE_PERL)
.if !defined(WITHOUT_PERL)
BUILD_DEPENDS= perldl:${PORTSDIR}/math/PDL \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk
RUN_DEPENDS= perldl:${PORTSDIR}/math/PDL \
@ -39,7 +39,7 @@ USE_GMAKE= yes
USE_LIBTOOL= yes
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
.if !defined(USE_PERL)
.if defined(WITHOUT_PERL)
CONFIGURE_ARGS= --disable-perl
.endif
@ -51,11 +51,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gimp.1 gimptool.1
MAN5= gimprc.5
.if !defined(WITH_GNOME) && exists(${X11BASE}/bin/gnome-config)
WITH_GNOME= yes
.endif
.if !defined(USE_PERL)
.if defined(WITHOUT_PERL)
PLISTORIG= ${PKGDIR}/PLIST
PLIST= ${WRKDIR}/PLIST
.else
@ -66,7 +62,8 @@ pre-fetch:
@${ECHO} "'make -DWITHOUT_PERL' instead"
.endif
.if defined(WITH_GNOME) && ${WITH_GNOME} == yes
.if defined(WITH_GNOME) || (exists(${X11BASE}/bin/gnome-config) \
&& !defined(WITHOUT_GNOME))
LIB_DEPENDS+= gtkxmhtml.3:${PORTSDIR}/x11/gnomelibs
pre-install:
@${CAT} ${PLISTORIG} > ${PLIST}

View file

@ -91,16 +91,16 @@ GNU_CONFIGURE= yes
# we support nvidia RIVA 128, TNT.. and Matrox G200/400 cards
.if defined(CHIPSET_3D)
.if ${CHIPSET_3D} == RIVA
WITH_CHIPSET= --with-chipset=tnt
CONFIGURE_ARGS= --with-chipset=tnt
.endif
.if ${CHIPSET_3D} == MGA
WITH_CHIPSET= --with-chipset=mga
CONFIGURE_ARGS= --with-chipset=mga
.endif
.endif
CONFIGURE_ARGS= --with-mesa=${MESADIR} \
CONFIGURE_ARGS+= --with-mesa=${MESADIR} \
--with-mesa-version=mesa30 \
${WITH_CHIPSET} # --with-mmx-asm --with-3dnow-asm
# --with-mmx-asm --with-3dnow-asm
USE_GMAKE= yes

View file

@ -30,7 +30,6 @@ PLIST_SUB+= OSMAJOR=${OSMAJOR}
#
# Support for Numeric is compiled in by default.
#
WITH_NUMERIC?= yes
NUMPYDIR= ${LOCALBASE}/lib/python1.5/site-packages/numerical
#
@ -41,8 +40,7 @@ SETUP_FILES= ${FILESDIR}/Setup.base
#
# Support for Togl is compiled in by default.
#
WITH_TOGL?= yes
.if defined(WITH_TOGL) && $(WITH_TOGL) == yes
.if !defined(WITHOUT_TOGL)
SETUP_FILES+= ${FILESDIR}/Setup.add.togl
LIB_DEPENDS+= tk82.1:${PORTSDIR}/x11-toolkits/tk82
.endif

View file

@ -91,16 +91,16 @@ GNU_CONFIGURE= yes
# we support nvidia RIVA 128, TNT.. and Matrox G200/400 cards
.if defined(CHIPSET_3D)
.if ${CHIPSET_3D} == RIVA
WITH_CHIPSET= --with-chipset=tnt
CONFIGURE_ARGS= --with-chipset=tnt
.endif
.if ${CHIPSET_3D} == MGA
WITH_CHIPSET= --with-chipset=mga
CONFIGURE_ARGS= --with-chipset=mga
.endif
.endif
CONFIGURE_ARGS= --with-mesa=${MESADIR} \
CONFIGURE_ARGS+= --with-mesa=${MESADIR} \
--with-mesa-version=mesa30 \
${WITH_CHIPSET} # --with-mmx-asm --with-3dnow-asm
# --with-mmx-asm --with-3dnow-asm
USE_GMAKE= yes

View file

@ -13,7 +13,7 @@ MASTER_SITES= ftp://ftp.bitchx.com/pub/BitchX/source/ \
MAINTAINER= calle.madestrand@norrgarden.se
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
LIB_DEPENDS= gnome.3:${PORTSDIR}/x11/gnomelibs
.endif
@ -22,7 +22,7 @@ GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
WRKSRC= ${WRKDIR}/BitchX
USE_AUTOCONF= yes
USE_GMAKE= yes
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
CONFIGURE_ARGS+= --with-plugins --with-gtk --enable-sound
.else
CONFIGURE_ARGS+= --with-plugins --without-gtk
@ -39,9 +39,9 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAKE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_DATA="${INSTALL_DATA}"
.if !defined(USE_GNOME)
.if !defined(WITH_GNOME)
pre-extract:
@${ECHO} "You can add hooks for GNOME by defining USE_GNOME"
@${ECHO} "You can add hooks for GNOME by defining WITH_GNOME"
.endif
pre-patch:
@ -54,7 +54,7 @@ post-install:
${CP} -r ${WRKSRC}/bitchx-docs/* ${PREFIX}/share/bx/help
${INSTALL_DATA} ${WRKSRC}/doc/bxfaq.html ${PREFIX}/share/doc/bitchx
.endif
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
@${ECHO} bin/gtkBitchX >> ${TMPPLIST}
@${ECHO} bin/gtkBitchX-1.0c16 >> ${TMPPLIST}
@${ECHO} share/bx/plugins/nicklist.so >> ${TMPPLIST}

View file

@ -14,7 +14,7 @@ MAINTAINER= jim@FreeBSD.org
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
PropList.2:${PORTSDIR}/devel/libPropList
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
LIB_DEPENDS+= gnome.3:${PORTSDIR}/x11/gnomelibs
.endif
@ -33,7 +33,7 @@ CONFIGURE_ARGS= --without-pthreads --without-socks --with-textui \
--with-proplist=${LOCALBASE} --without-servertest \
--disable-nls
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
PLIST= ${PKGDIR}/PLIST.gnome
.endif
@ -45,9 +45,9 @@ CONFIGURE_ARGS+= --enable-ipv6
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
CONFIGURE_ARGS+= --with-gnome
.if defined(USE_PANEL)
.if defined(WITH_PANEL)
CONFIGURE_ARGS+= --with-gnome-panel
.else
CONFIGURE_ARGS+= --without-gnome-panel

View file

@ -14,7 +14,7 @@ MAINTAINER= jim@FreeBSD.org
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
PropList.2:${PORTSDIR}/devel/libPropList
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
LIB_DEPENDS+= gnome.3:${PORTSDIR}/x11/gnomelibs
.endif
@ -33,7 +33,7 @@ CONFIGURE_ARGS= --without-pthreads --without-socks --with-textui \
--with-proplist=${LOCALBASE} --without-servertest \
--disable-nls
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
PLIST= ${PKGDIR}/PLIST.gnome
.endif
@ -45,9 +45,9 @@ CONFIGURE_ARGS+= --enable-ipv6
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
CONFIGURE_ARGS+= --with-gnome
.if defined(USE_PANEL)
.if defined(WITH_PANEL)
CONFIGURE_ARGS+= --with-gnome-panel
.else
CONFIGURE_ARGS+= --without-gnome-panel

View file

@ -13,12 +13,12 @@ MASTER_SITES= http://xchat.org/files/source/1.4/ \
MAINTAINER= jim@FreeBSD.org
.if defined(USE_SOCKS)
.if defined(WITH_SOCKS)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
.endif
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
Imlib.5:${PORTSDIR}/graphics/imlib
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
LIB_DEPENDS+= gnome.3:${PORTSDIR}/x11/gnomelibs
.endif
@ -32,13 +32,13 @@ USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls --disable-python
.if defined(USE_SOCKS)
.if defined(WITH_SOCKS)
CONFIGURE_ARGS+= --enable-socks
.endif
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
CONFIGURE_ARGS+= --enable-gnome
.if defined(USE_PANEL)
.if defined(WITH_PANEL)
CONFIGURE_ARGS+= --enable-panel
.else
CONFIGURE_ARGS+= --disable-panel
@ -50,7 +50,7 @@ CONFIGURE_ARGS+= --disable-gnome
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
GLIB_CONFIG="${GLIB_CONFIG}"
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
PLIST= ${PKGDIR}/PLIST.gnome
.endif

View file

@ -13,12 +13,12 @@ MASTER_SITES= http://xchat.org/files/source/1.4/ \
MAINTAINER= jim@FreeBSD.org
.if defined(USE_SOCKS)
.if defined(WITH_SOCKS)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
.endif
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
Imlib.5:${PORTSDIR}/graphics/imlib
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
LIB_DEPENDS+= gnome.3:${PORTSDIR}/x11/gnomelibs
.endif
@ -32,13 +32,13 @@ USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls --disable-python
.if defined(USE_SOCKS)
.if defined(WITH_SOCKS)
CONFIGURE_ARGS+= --enable-socks
.endif
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
CONFIGURE_ARGS+= --enable-gnome
.if defined(USE_PANEL)
.if defined(WITH_PANEL)
CONFIGURE_ARGS+= --enable-panel
.else
CONFIGURE_ARGS+= --disable-panel
@ -50,7 +50,7 @@ CONFIGURE_ARGS+= --disable-gnome
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
GLIB_CONFIG="${GLIB_CONFIG}"
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
PLIST= ${PKGDIR}/PLIST.gnome
.endif

View file

@ -13,12 +13,12 @@ MASTER_SITES= http://xchat.org/files/source/1.4/ \
MAINTAINER= jim@FreeBSD.org
.if defined(USE_SOCKS)
.if defined(WITH_SOCKS)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
.endif
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
Imlib.5:${PORTSDIR}/graphics/imlib
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
LIB_DEPENDS+= gnome.3:${PORTSDIR}/x11/gnomelibs
.endif
@ -32,13 +32,13 @@ USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls --disable-python
.if defined(USE_SOCKS)
.if defined(WITH_SOCKS)
CONFIGURE_ARGS+= --enable-socks
.endif
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
CONFIGURE_ARGS+= --enable-gnome
.if defined(USE_PANEL)
.if defined(WITH_PANEL)
CONFIGURE_ARGS+= --enable-panel
.else
CONFIGURE_ARGS+= --disable-panel
@ -50,7 +50,7 @@ CONFIGURE_ARGS+= --disable-gnome
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
GLIB_CONFIG="${GLIB_CONFIG}"
.if defined(USE_GNOME)
.if defined(WITH_GNOME)
PLIST= ${PKGDIR}/PLIST.gnome
.endif

Some files were not shown because too many files have changed in this diff Show more