summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--astro/boinc-einsteinathome/Makefile13
-rw-r--r--astro/gpsman/Makefile4
-rw-r--r--astro/libnova/Makefile8
-rw-r--r--astro/xmoontool/Makefile8
-rw-r--r--audio/cheesetracker/Makefile4
-rw-r--r--audio/ecawave/Makefile2
-rw-r--r--audio/jack/Makefile4
-rw-r--r--audio/lmms/Makefile4
-rw-r--r--audio/mixmos/Makefile8
-rw-r--r--audio/mixxx/Makefile8
-rw-r--r--audio/mp3stat/Makefile4
-rw-r--r--audio/mpmf20/Makefile8
-rw-r--r--audio/rezound/Makefile4
-rw-r--r--audio/shoutcast/Makefile10
-rw-r--r--audio/xmcd/Makefile8
-rw-r--r--audio/xmradio/Makefile6
-rw-r--r--biology/blast/Makefile8
-rw-r--r--biology/blast/distinfo6
-rw-r--r--biology/boinc-simap/Makefile4
-rw-r--r--biology/molden/files/patch-aa6
-rw-r--r--biology/p5-AcePerl/Makefile4
-rw-r--r--biology/platon/files/Makefile4
-rw-r--r--cad/gtkwave3/Makefile8
-rw-r--r--cad/leocad/Makefile8
-rw-r--r--chinese/big5width/Makefile4
-rw-r--r--chinese/dictd-database/Makefile8
-rw-r--r--chinese/iiimf-le-newpy/Makefile4
-rw-r--r--chinese/iiimf-le-ude/Makefile8
-rw-r--r--chinese/scim-pinyin/Makefile14
-rw-r--r--chinese/ve/Makefile8
-rw-r--r--chinese/ve/files/patch-screen.c (renamed from chinese/ve/files/extrapatch-screen.c)0
-rw-r--r--chinese/wenju/Makefile8
-rw-r--r--chinese/wenju/files/configure-getopt.patch11
-rw-r--r--comms/garmin-utils/Makefile11
-rw-r--r--comms/hcidump/Makefile13
-rw-r--r--comms/ib-kmod/Makefile4
-rw-r--r--comms/lirc/Makefile10
-rw-r--r--comms/minicom/Makefile8
-rw-r--r--comms/spandsp/Makefile7
-rw-r--r--comms/unixcw/Makefile7
-rw-r--r--databases/evolution-data-server/Makefile4
-rw-r--r--databases/fastdb/Makefile4
-rw-r--r--databases/frontbase/Makefile9
-rw-r--r--databases/mysql++/Makefile8
-rw-r--r--databases/mysql++1/Makefile8
-rw-r--r--databases/mysqlcppapi/Makefile15
-rw-r--r--databases/p5-DBD-ODBC/Makefile4
-rw-r--r--databases/p5-DBZ_File/Makefile10
-rw-r--r--databases/pgadmin3/Makefile8
-rw-r--r--databases/postgresql-libpqxx/Makefile12
-rw-r--r--databases/postgresql-libpqxx3/Makefile12
-rw-r--r--databases/postgresql-libpqxx30/Makefile12
-rw-r--r--databases/tora/Makefile9
-rw-r--r--databases/virtuoso/Makefile9
-rw-r--r--deskutils/kdissert/Makefile8
-rw-r--r--deskutils/pinot/Makefile4
-rw-r--r--deskutils/semantik/Makefile8
-rw-r--r--deskutils/tpb/Makefile8
58 files changed, 54 insertions, 374 deletions
diff --git a/astro/boinc-einsteinathome/Makefile b/astro/boinc-einsteinathome/Makefile
index b6747e2e61fb..b106c59778b2 100644
--- a/astro/boinc-einsteinathome/Makefile
+++ b/astro/boinc-einsteinathome/Makefile
@@ -15,16 +15,11 @@ DISTNAME= einstein_S5R3_${PORTVERSION}_i386-unknown-freebsd
MAINTAINER= pav@FreeBSD.org
COMMENT= Search for gravitational waves, a distributed computing project
-.include <bsd.port.pre.mk>
+LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x
+RUN_DEPENDS= boinc_client:${PORTSDIR}/net/boinc-client
ONLY_FOR_ARCHS= i386 amd64
-.if ${OSVERSION} >= 600000
-LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
-.endif
-
-RUN_DEPENDS+= boinc_client:${PORTSDIR}/net/boinc-client
-
NO_BUILD= yes
NO_WRKSUBDIR= yes
STRIP= #
@@ -37,7 +32,9 @@ BOINC_HOME?= /var/db/boinc
EINSTEIN_SITE= einstein.phys.uwm.edu
EINSTEIN_BINARY=${DISTNAME}
-.if ${ARCH} == amd64 && ${OSVERSION} >= 600000
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == amd64
AMD64= ""
.else
AMD64= "@comment "
diff --git a/astro/gpsman/Makefile b/astro/gpsman/Makefile
index c99b0b3cb7a4..592620009e02 100644
--- a/astro/gpsman/Makefile
+++ b/astro/gpsman/Makefile
@@ -27,9 +27,7 @@ NO_BUILD= yes
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-GPSMAN_DEFAULT_PORT?= /dev/cuaa0
-.elif ${OSVERSION} < 800045
+.if ${OSVERSION} < 800045
GPSMAN_DEFAULT_PORT?= /dev/cuad0
.else
GPSMAN_DEFAULT_PORT?= /dev/cuau0
diff --git a/astro/libnova/Makefile b/astro/libnova/Makefile
index 204677fdfe5a..3a1bf68ae927 100644
--- a/astro/libnova/Makefile
+++ b/astro/libnova/Makefile
@@ -21,16 +21,10 @@ USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 503000
-IGNORE= requires FreeBSD 5.3 or higher
-.endif
-
#post-extract:
# @${TAR} xf ${WRKDIR}/${PORTNAME}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} -C ${WRKDIR}
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/astro/xmoontool/Makefile b/astro/xmoontool/Makefile
index 522e062073d4..3f6d1d30e82c 100644
--- a/astro/xmoontool/Makefile
+++ b/astro/xmoontool/Makefile
@@ -20,12 +20,6 @@ MAN1= xmoontool.1
PORTDOCS= NOTES
PLIST_FILES= bin/xmoontool
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 503000 # libnova currently not available here!
-WITHOUT_LIBNOVA= yes
-.endif
-
.if defined(WITHOUT_LIBNOVA)
MAKE_ENV+= WITHOUT_LIBNOVA=yes
.else
@@ -59,4 +53,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/cheesetracker/Makefile b/audio/cheesetracker/Makefile
index a3cae6b12785..709c94557ab9 100644
--- a/audio/cheesetracker/Makefile
+++ b/audio/cheesetracker/Makefile
@@ -40,10 +40,6 @@ BROKEN= Does not compile on alpha
LIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4
.endif
-.if ${OSVERSION} < 600020
-BROKEN= Requires MSG_NOSIGNAL
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|%%CXXFLAGS%%|${CXXFLAGS}| ; \
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g ; \
diff --git a/audio/ecawave/Makefile b/audio/ecawave/Makefile
index 0fc4be730718..f5537c2198a4 100644
--- a/audio/ecawave/Makefile
+++ b/audio/ecawave/Makefile
@@ -31,7 +31,7 @@ MAN1= ecawave.1
.include <bsd.port.pre.mk>
-.if ${ARCH} == "alpha" && ${OSVERSION} >= 502102
+.if ${ARCH} == "alpha"
BROKEN= Configure fails on alpha 5.x
.endif
diff --git a/audio/jack/Makefile b/audio/jack/Makefile
index 4f0a26b8709d..0de92dcab41a 100644
--- a/audio/jack/Makefile
+++ b/audio/jack/Makefile
@@ -47,10 +47,6 @@ CONFIGURE_ENV+= ac_cv_prog_HAVE_DOXYGEN="false"
PLIST_SUB+= DOCS="@comment "
.endif
-.if (${OSVERSION} < 502102 )
-BROKEN= Does not compile
-.endif
-
.if exists(${LOCALBASE}/lib/libreadline.so.5)
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
.endif
diff --git a/audio/lmms/Makefile b/audio/lmms/Makefile
index 945763dd2e42..17eec0544230 100644
--- a/audio/lmms/Makefile
+++ b/audio/lmms/Makefile
@@ -56,10 +56,6 @@ post-install:
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-BROKEN= fails to install
-.endif
-
.if ${OSVERSION} >= 700042 && ${ARCH} == "amd64"
BROKEN= does not compile
.endif
diff --git a/audio/mixmos/Makefile b/audio/mixmos/Makefile
index d5255066c4a6..5d5069a55a53 100644
--- a/audio/mixmos/Makefile
+++ b/audio/mixmos/Makefile
@@ -21,10 +21,4 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= mixmos.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 501105
-IGNORE= require SOUND_MIXER_INFO ioctl
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/mixxx/Makefile b/audio/mixxx/Makefile
index a45dd99c7d23..4fbcb861df74 100644
--- a/audio/mixxx/Makefile
+++ b/audio/mixxx/Makefile
@@ -36,12 +36,6 @@ CONFIGURE_ENV= QMAKESPEC="freebsd-g++"
CONFIGURE_ARGS= --prefix=${PREFIX}
MAKE_ENV= QTDIR="${QT_PREFIX}"
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 503001
-IGNORE= does not compile on FreeBSD < 5.3, due to lack of round() in libm
-.endif
-
post-patch:
@${REINPLACE_CMD} \
-e 's|/bin/bash|${LOCALBASE}&| ; \
@@ -60,4 +54,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/Mixxx-Manual.pdf ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/mp3stat/Makefile b/audio/mp3stat/Makefile
index 385974a95a53..a91e5cbc05f9 100644
--- a/audio/mp3stat/Makefile
+++ b/audio/mp3stat/Makefile
@@ -36,10 +36,6 @@ OPTIONS= VORBIS "Ogg/Vorbis support" on
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 504000
-BUILD_DEPENDS+= ${LOCALBASE}/include/magic.h:${PORTSDIR}/sysutils/file
-.endif
-
.if defined(WITHOUT_VORBIS)
MAKE_ARGS+= VORBIS=""
.else
diff --git a/audio/mpmf20/Makefile b/audio/mpmf20/Makefile
index 5a5b21e4a4ce..c6526431fd3b 100644
--- a/audio/mpmf20/Makefile
+++ b/audio/mpmf20/Makefile
@@ -20,13 +20,7 @@ NOT_FOR_ARCHS= ia64 sparc64
MAKEFILE= makefile
PLIST_FILES= bin/mpmf20
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == i386 && ${OSVERSION} < 502108
-BROKEN= ffs() clash, see i386/41930
-.endif
-
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/mpmf20 ${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/rezound/Makefile b/audio/rezound/Makefile
index 0436d22566af..bc0bcde83f21 100644
--- a/audio/rezound/Makefile
+++ b/audio/rezound/Makefile
@@ -108,12 +108,8 @@ PLIST_SUB+= NLS="@comment "
post-patch: .SILENT
${REINPLACE_CMD} -e '/atoll/d' ${WRKSRC}/config/platform/bsd.h
-.if ${OSVERSION} > 502112
${REINPLACE_CMD} -e '/round/d' ${WRKSRC}/config/platform/bsd.h
-.endif
-.if ${OSVERSION} > 502120
${REINPLACE_CMD} -e '/nearbyint/d' ${WRKSRC}/config/platform/bsd.h
-.endif
${REINPLACE_CMD} -E 's,(_nl_expand_alias \()\),\1...),' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's,$$(prefix)/doc,$$(datadir)/doc,' \
${WRKSRC}/config/am_include.mk ${WRKSRC}/Makefile.in \
diff --git a/audio/shoutcast/Makefile b/audio/shoutcast/Makefile
index 9b0f782cd130..c90eafdc4d94 100644
--- a/audio/shoutcast/Makefile
+++ b/audio/shoutcast/Makefile
@@ -13,6 +13,8 @@ DISTNAME= sc_serv_${PORTVERSION}_FreeBSD5
MAINTAINER= gabor@FreeBSD.org
COMMENT= Nullsoft's streaming audio server (binary port)
+LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x
+
IA32_BINARY_PORT= YES
NO_BUILD= YES
RESTRICTED= Redistribution of the software is not allowed
@@ -23,12 +25,6 @@ USE_RC_SUBR= shoutcast.sh
PORTDOCS= README.TXT
WRKSRC= ${WRKDIR}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 600000
-LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \
-e 's|=sc_serv.log|=/var/log/sc_serv.log|' \
@@ -53,4 +49,4 @@ do-install:
post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/xmcd/Makefile b/audio/xmcd/Makefile
index 5a0ab89ce338..8117705f02ef 100644
--- a/audio/xmcd/Makefile
+++ b/audio/xmcd/Makefile
@@ -26,12 +26,6 @@ PLIST_SUB+= RELEASE=${OSREL:R:R} ARCH=${ARCH}
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
-.include <bsd.port.pre.mk>
-
-.if (${OSVERSION} < 600000 && ${ARCH} == "sparc64")
-BROKEN= Does not compile on FreeBSD 5.x sparc64
-.endif
-
LIBBINDIR= ${PREFIX}/lib/X11/xmcd/bin-FreeBSD_${OSREL:R:R}-${ARCH}
post-extract:
@@ -56,4 +50,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${PREFIX}/lib/X11/app-defaults/XMcd
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/xmradio/Makefile b/audio/xmradio/Makefile
index fbd3bdf279ff..8872d59e6ddf 100644
--- a/audio/xmradio/Makefile
+++ b/audio/xmradio/Makefile
@@ -25,15 +25,11 @@ ONLY_FOR_ARCHS= i386 ia64
PLIST_FILES= bin/xmradio lib/X11/app-defaults/XMradio
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 502100
post-patch:
${REINPLACE_CMD} -e "s,machine/ioctl_bt848.h,dev/bktr/ioctl_bt848.h," \
${WRKSRC}/radio.c
-.endif
#
#post-install:
# ${STRIP_CMD} ${PREFIX}/bin/xmradio
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/biology/blast/Makefile b/biology/blast/Makefile
index 1fc2234aa714..a8b9c7bd029d 100644
--- a/biology/blast/Makefile
+++ b/biology/blast/Makefile
@@ -40,18 +40,10 @@ XDFORMAT_LINKS= setdb pressdb
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64
-.if ${OSVERSION} >= 600000
DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-6.x-x64
.else
-DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-5.x-x64
-.endif
-.else
-.if ${OSVERSION} < 600000
-DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-5.x-i686
-.else
DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-6.x-i686
.endif
-.endif
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE= You must manually fetch ${PORTNAME}${PORTVERSION:S/.0//} for the FreeBSD platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
diff --git a/biology/blast/distinfo b/biology/blast/distinfo
index 5ebae284ff26..625f2c6e92d7 100644
--- a/biology/blast/distinfo
+++ b/biology/blast/distinfo
@@ -1,10 +1,4 @@
-MD5 (blast2.freebsd-4.x-i686.tar.Z) = IGNORE
-MD5 (blast2.freebsd-5.x-i686.tar.Z) = IGNORE
MD5 (blast2.freebsd-6.x-i686.tar.Z) = IGNORE
-MD5 (blast2.freebsd-5.x-x64.tar.Z) = IGNORE
MD5 (blast2.freebsd-6.x-x64.tar.Z) = IGNORE
-SHA256 (blast2.freebsd-4.x-i686.tar.Z) = IGNORE
-SHA256 (blast2.freebsd-5.x-i686.tar.Z) = IGNORE
SHA256 (blast2.freebsd-6.x-i686.tar.Z) = IGNORE
-SHA256 (blast2.freebsd-5.x-x64.tar.Z) = IGNORE
SHA256 (blast2.freebsd-6.x-x64.tar.Z) = IGNORE
diff --git a/biology/boinc-simap/Makefile b/biology/boinc-simap/Makefile
index ea8faa133edb..e8bc9641f7de 100644
--- a/biology/boinc-simap/Makefile
+++ b/biology/boinc-simap/Makefile
@@ -57,10 +57,6 @@ AMD64= "@comment "
SUB_FILES= app_info.xml pkg-message
SUB_LIST= SIMAP_BINARY=${SIMAP_BINARY} HMMER_BINARY=${HMMER_BINARY} SIMAP_APPVERSION=${SIMAP_VERSION:S/.//} HMMER_APPVERSION=${HMMER_VERSION:S/.//} AMD64=${AMD64}
-.if ${OSVERSION} < 600000
-IGNORE= only supports FreeBSD 6.X and newer
-.endif
-
.if ${OSVERSION} >= 700043
LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x
.endif
diff --git a/biology/molden/files/patch-aa b/biology/molden/files/patch-aa
index e4c75e6ed719..fe0bbedbb986 100644
--- a/biology/molden/files/patch-aa
+++ b/biology/molden/files/patch-aa
@@ -1,6 +1,6 @@
--- makefile.orig 2008-06-24 15:44:16.000000000 +0200
+++ makefile 2008-11-10 22:53:22.000000000 +0100
-@@ -12,9 +12,23 @@
+@@ -12,9 +12,19 @@
#
# Disregard compiler warnings on rdmolf.f
#
@@ -15,11 +15,7 @@
+#CC = gcc
+CFLAGS += -c -DDOBACK -DHASTIMER -I${LOCALBASE}/include
+#FC = f77
-+.if ${OSVERSION} < 400005
-+FFLAGS += -Nn802 -Nx400
-+.else
+FFLAGS += #-Wno-globals -fno-globals
-+.endif
+LIBS = -L${LOCALBASE}/lib -lX11 -lm
+LDR = ${FC}
+###
diff --git a/biology/p5-AcePerl/Makefile b/biology/p5-AcePerl/Makefile
index 7a46781e319a..d9a63d32d749 100644
--- a/biology/p5-AcePerl/Makefile
+++ b/biology/p5-AcePerl/Makefile
@@ -49,10 +49,6 @@ MAN3= Ace.3 Ace::Browser::AceSubs.3 Ace::Browser::SearchSubs.3 \
CFLAGS+= -fPIC
.endif
-.if ${ARCH} == "amd64" && ${OSVERSION} < 600000
-BROKEN= does not compile, GCC bug
-.endif
-
post-patch:
@ ${SED} -e 's|XX__CC__XX|${CC}|' < ${FILESDIR}/FREEBSD_DEF \
> ${WRKSRC}/acelib/wmake/FREEBSD_DEF
diff --git a/biology/platon/files/Makefile b/biology/platon/files/Makefile
index 2cda1996ee01..366e8b7ab49f 100644
--- a/biology/platon/files/Makefile
+++ b/biology/platon/files/Makefile
@@ -4,11 +4,7 @@
TARGET= platon
OBJS= platon.o xdrvr.o
-.if ${OSVERSION} >= 400018
FOPT= ${FFLAGS}
-.else
-FOPT= ${FFLAGS} -Nx800 -NL400 -Nn802
-.endif
COPT= ${CFLAGS} -I%%LOCALBASE%%/include
LOPT= -L%%LOCALBASE%%/lib -lX11
diff --git a/cad/gtkwave3/Makefile b/cad/gtkwave3/Makefile
index 579ca209ed9a..d5feab601c23 100644
--- a/cad/gtkwave3/Makefile
+++ b/cad/gtkwave3/Makefile
@@ -27,10 +27,4 @@ MAN1= ghwdump.1 gtkwave.1 lxt2miner.1 lxt2vcd.1 mvl2lxt.1 \
vzt2vcd.1 vztminer.1
MAN5= gtkwaverc.5
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-BROKEN= Does not compile on 5.x
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/cad/leocad/Makefile b/cad/leocad/Makefile
index 696d14a51198..c19331d2c163 100644
--- a/cad/leocad/Makefile
+++ b/cad/leocad/Makefile
@@ -26,12 +26,6 @@ USE_XORG= x11
USE_GMAKE= yes
USE_GNOME= gtk12
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-BROKEN= Does not compile on FreeBSD 5.x
-.endif
-
post-extract:
@${UNZIP_CMD} -q -o ${DISTDIR}/leocad-pieces-20030330.zip -d ${WRKDIR}/pieces
@@ -51,4 +45,4 @@ do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKDIR}/pieces/* ${DATADIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/chinese/big5width/Makefile b/chinese/big5width/Makefile
index 7de793bc2c24..b11d2a2c13b1 100644
--- a/chinese/big5width/Makefile
+++ b/chinese/big5width/Makefile
@@ -24,10 +24,6 @@ PLIST_SUB= BASELOCALEDIR=${BASELOCALEDIR} \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 502110
-IGNORE= requires UTF-8 locales in base system
-.endif
-
SRCBASE?= ${PORTSDIR}/../src
SRCDIR= ${SRCBASE}/share/mklocale
diff --git a/chinese/dictd-database/Makefile b/chinese/dictd-database/Makefile
index 1eb31eaed0e7..db185a7fb19d 100644
--- a/chinese/dictd-database/Makefile
+++ b/chinese/dictd-database/Makefile
@@ -38,10 +38,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 502110
-RUN_DEPENDS+= ${LOCALBASE}/share/locale/zh_TW.UTF-8/LC_CTYPE:${PORTSDIR}/misc/utf8locale
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/chinese/iiimf-le-newpy/Makefile b/chinese/iiimf-le-newpy/Makefile
index 7a53267bd850..72086ace3cdc 100644
--- a/chinese/iiimf-le-newpy/Makefile
+++ b/chinese/iiimf-le-newpy/Makefile
@@ -41,10 +41,6 @@ PLIST_SUB+= WANT_XAUX="@comment "
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 503000
-IGNORE= is supported on FreeBSD 5.3 and later only
-.endif
-
CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
diff --git a/chinese/iiimf-le-ude/Makefile b/chinese/iiimf-le-ude/Makefile
index 00048bb6e0ad..a57afede30e0 100644
--- a/chinese/iiimf-le-ude/Makefile
+++ b/chinese/iiimf-le-ude/Makefile
@@ -27,12 +27,6 @@ USE_AUTOTOOLS= automake:19:env autoconf:262:env libtool:15:env
WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
BUILDDIR= ${WRKSRC}/leif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 503000
-IGNORE= is supported on FreeBSD 5.3 and later only
-.endif
-
CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
@@ -48,4 +42,4 @@ pre-configure:
@cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${GMAKE} reconfig
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${GMAKE} config
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/chinese/scim-pinyin/Makefile b/chinese/scim-pinyin/Makefile
index 91c036eba56d..baeac1b046cb 100644
--- a/chinese/scim-pinyin/Makefile
+++ b/chinese/scim-pinyin/Makefile
@@ -24,20 +24,12 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
+ LDFLAGS="-L${LOCALBASE}/lib -lintl"
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500035
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/stlport" \
- LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc -lintl ${PTHREAD_LIBS}"
-.else
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
- LDFLAGS="-L${LOCALBASE}/lib -lintl"
-.endif
-
PLIST_SUB= SKIM="@comment "
pre-fetch:
diff --git a/chinese/ve/Makefile b/chinese/ve/Makefile
index a128535f8992..f935911bb144 100644
--- a/chinese/ve/Makefile
+++ b/chinese/ve/Makefile
@@ -15,10 +15,4 @@ EXTRACT_SUFX= .tgz
MAINTAINER= chinsan@FreeBSD.org
COMMENT= NTHU-CS Maple BBS 2.36 BBS-like editor
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-EXTRA_PATCHES= ${FILESDIR}/extrapatch-screen.c
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/chinese/ve/files/extrapatch-screen.c b/chinese/ve/files/patch-screen.c
index b643c45ad398..b643c45ad398 100644
--- a/chinese/ve/files/extrapatch-screen.c
+++ b/chinese/ve/files/patch-screen.c
diff --git a/chinese/wenju/Makefile b/chinese/wenju/Makefile
index 07a6284935c5..481b7789fcf8 100644
--- a/chinese/wenju/Makefile
+++ b/chinese/wenju/Makefile
@@ -31,10 +31,4 @@ PLIST_SUB+= NLS="@comment "
post-install:
gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500041
-EXTRA_PATCHES+= ${FILESDIR}/configure-getopt.patch
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/chinese/wenju/files/configure-getopt.patch b/chinese/wenju/files/configure-getopt.patch
deleted file mode 100644
index 0c53f78ab71f..000000000000
--- a/chinese/wenju/files/configure-getopt.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Sat Oct 18 04:38:19 2003
-+++ configure Sat Oct 18 04:38:42 2003
-@@ -7889,7 +7889,7 @@
-
-
- GTK2_CFLAGS="`pkg-config --cflags gtk+-2.0`"
--GTK2_LIBS="`pkg-config --libs gtk+-2.0`"
-+GTK2_LIBS="`pkg-config --libs gtk+-2.0` -lgnugetopt"
- GTK2_BINARY_VERSION="`pkg-config --variable=gtk_binary_version gtk+-2.0`"
-
-
diff --git a/comms/garmin-utils/Makefile b/comms/garmin-utils/Makefile
index 3aaedd7a95ed..e5c8a1cf7a0a 100644
--- a/comms/garmin-utils/Makefile
+++ b/comms/garmin-utils/Makefile
@@ -16,15 +16,8 @@ COMMENT= Utilities for Garmin GPS receivers
MAN1= gardump.1 garload.1
MANCOMPRESSED= yes
MAKE_ARGS+= MANDIR=${MANPREFIX}/man/man
+MAKE_ARGS+= GPS_SERIAL_PORT=/dev/cuad0
PLIST_FILES= bin/gardump bin/garload
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600006
-MAKE_ARGS+= GPS_SERIAL_PORT=/dev/cuaa0
-.else
-MAKE_ARGS+= GPS_SERIAL_PORT=/dev/cuad0
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/comms/hcidump/Makefile b/comms/hcidump/Makefile
index 5bd014e94218..b0edbec71933 100644
--- a/comms/hcidump/Makefile
+++ b/comms/hcidump/Makefile
@@ -19,15 +19,4 @@ MAN1= hcidump.1
MANCOMPRESSED= yes
PLIST_FILES= bin/hcidump
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 502000
-IGNORE= it needs Bluetooth stack (FreeBSD 5.2 or newer)
-.endif
-
-.if ${OSVERSION} < 502121
-# libbluetooth is only installed on i386 before this version
-ONLY_FOR_ARCHS= i386
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/comms/ib-kmod/Makefile b/comms/ib-kmod/Makefile
index 7c8182189dee..d023937e68b5 100644
--- a/comms/ib-kmod/Makefile
+++ b/comms/ib-kmod/Makefile
@@ -26,10 +26,6 @@ PLIST_FILES= "@cwd ${KMODDIR}" \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600031
-IGNORE= required FreeBSD 6.0-STABLE at least (if_alloc(), etc.)
-.endif
-
pre-fetch:
.if !exists(${SRC_BASE}/sys/Makefile)
@${ECHO} "*************************************************"; \
diff --git a/comms/lirc/Makefile b/comms/lirc/Makefile
index 8bee112f7394..917ab9b1057e 100644
--- a/comms/lirc/Makefile
+++ b/comms/lirc/Makefile
@@ -23,6 +23,9 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-sandboxed --with-devdir=/var/run/lirc
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
OPTIONS= IRMAN "Build with libirman support" On
@@ -44,13 +47,6 @@ CONFIGURE_ARGS+= --with-driver=irman --with-driver=dvico
CONFIGURE_ARGS+= --with-driver=any --with-driver=dvico
.endif
-.if ${OSVERSION} >= 500041
-# These are already included in the getopt_long case on < 50041
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-.endif
-
MAN1= ircat.1 irexec.1 irpty.1 irrecord.1 irsend.1 irw.1 \
irxevent.1 lircrcd.1 mode2.1 smode2.1 xmode2.1
MAN8= lircd.8 lircmd.8
diff --git a/comms/minicom/Makefile b/comms/minicom/Makefile
index acea25667b13..3f6cb9175fc8 100644
--- a/comms/minicom/Makefile
+++ b/comms/minicom/Makefile
@@ -35,13 +35,7 @@ CONFIGURE_ARGS+= --enable-dfl-baud=57600 \
--sysconfdir=${PREFIX}/etc/minicom \
--enable-lock-dir=/var/spool/lock
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 600000
MINICOM_DEFAULT_PORT?= /dev/cuad0
-.else
-MINICOM_DEFAULT_PORT?= /dev/cuaa0
-.endif
CONFIGURE_ARGS+= --enable-dfl-port=${MINICOM_DEFAULT_PORT}
MAN1= minicom.1 runscript.1 ascii-xfr.1 xminicom.1
@@ -71,4 +65,4 @@ post-install:
${DOCSDIR})
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/comms/spandsp/Makefile b/comms/spandsp/Makefile
index 97edbd469202..519dd1ef7e6f 100644
--- a/comms/spandsp/Makefile
+++ b/comms/spandsp/Makefile
@@ -28,12 +28,7 @@ CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
USE_LDCONFIG= yes
-.include <bsd.port.pre.mk>
-
post-patch:
@${FIND} ${WRKSRC} -name *.c | ${XARGS} ${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|'
-.if ${OSVERSION} < 503000
- ${ECHO} '#define lrintf(x) ((int16_t)rintf(x))' > ${WRKSRC}/src/tgmath.h
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/comms/unixcw/Makefile b/comms/unixcw/Makefile
index f37c87e1baa7..9c2b7a0673e8 100644
--- a/comms/unixcw/Makefile
+++ b/comms/unixcw/Makefile
@@ -35,11 +35,6 @@ USE_AUTOTOOLS= autoconf:262
USE_LDCONFIG= yes
USE_GMAKE= yes
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-BUILD_DEPENDS+= gawk:${PORTSDIR}/lang/gawk
-.endif
-
pre-extract:
.if !defined(WITH_XCWCP)
@${ECHO_CMD}
@@ -53,4 +48,4 @@ post-patch:
@${REINPLACE_CMD} -e "s|%%LIBDATA%%|${PREFIX}/libdata|" \
${WRKSRC}/src/cwlib/Makefile
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/evolution-data-server/Makefile b/databases/evolution-data-server/Makefile
index c64190358336..e0406b8c77df 100644
--- a/databases/evolution-data-server/Makefile
+++ b/databases/evolution-data-server/Makefile
@@ -45,10 +45,6 @@ OPTIONS= IMAP4 "Enable experimental IMAP4 backend" off
.include <bsd.port.pre.mk>
-.if ( ( ${OSVERSION} < 504101 ) || ( ${OSVERSION} >= 600000 && ${OSVERSION} < 600012 ) )
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libedataserver_e-msgport.c
-.endif
-
.if defined(HEIMDAL_HOME) || defined(WITH_HEIMDAL)
HEIMDAL_HOME?= ${LOCALBASE}
LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
diff --git a/databases/fastdb/Makefile b/databases/fastdb/Makefile
index 8505abcc340e..00676375afd2 100644
--- a/databases/fastdb/Makefile
+++ b/databases/fastdb/Makefile
@@ -27,10 +27,6 @@ PORTDOCS= FastDB.htm
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-BROKEN= does not compile
-.endif
-
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff --git a/databases/frontbase/Makefile b/databases/frontbase/Makefile
index c983e7feede9..db1ead0b34b8 100644
--- a/databases/frontbase/Makefile
+++ b/databases/frontbase/Makefile
@@ -19,8 +19,6 @@ COMMENT= Frontbase SQL Database Server
IS_INTERACTIVE= yes
RESTRICTED= License doesn't allow redistribution
-.include <bsd.port.pre.mk>
-
USE_RC_SUBR= frontbase.sh
USE_LDCONFIG= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
@@ -30,12 +28,7 @@ SUB_FILES+= pkg-message
ONLY_FOR_ARCHS= i386
# Binary is built for 5.X :
-.if ${OSVERSION} < 500000
-IGNORE= only supports FreeBSD 5.X and newer
-.endif
-.if ${OSVERSION} >= 600000
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
-.endif
FB_USER= frontbase
FB_GROUP= frontbase
@@ -74,4 +67,4 @@ post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/mysql++/Makefile b/databases/mysql++/Makefile
index 1710fa1e0160..7c6f3645e82b 100644
--- a/databases/mysql++/Makefile
+++ b/databases/mysql++/Makefile
@@ -31,12 +31,6 @@ NOT_FOR_ARCHS_REASON_sparc64= Fails to compile
PORTDOCS= *
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500039
-USE_GCC= 3.4
-.endif
-
post-install:
@${RM} -f ${PREFIX}/lib/libmysqlpp.so.3
@${LN} -s ${PREFIX}/lib/libmysqlpp.so ${PREFIX}/lib/libmysqlpp.so.3
@@ -58,4 +52,4 @@ post-install:
@${RM} -f ${EXAMPLESDIR}/Makefile.temp
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/mysql++1/Makefile b/databases/mysql++1/Makefile
index 66a2f6178e39..5b5e145f9e93 100644
--- a/databases/mysql++1/Makefile
+++ b/databases/mysql++1/Makefile
@@ -25,12 +25,6 @@ USE_LDCONFIG= yes
CONFLICTS= ${PORTNAME}*-2.*
NO_LATEST_LINK= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500039
-USE_GCC= 3.4
-.endif
-
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/userman/html ${DOCSDIR}/refman/html
@@ -49,4 +43,4 @@ post-install:
@${RM} -f ${EXAMPLESDIR}/Makefile.temp
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/mysqlcppapi/Makefile b/databases/mysqlcppapi/Makefile
index 1c2c22d9d7f7..312d9837286b 100644
--- a/databases/mysqlcppapi/Makefile
+++ b/databases/mysqlcppapi/Makefile
@@ -20,17 +20,8 @@ USE_MYSQL= yes
USE_GNOME= pkgconfig gnomehack
GNU_CONFIGURE= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/stlport" \
- LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}"
-.else
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-.endif
CONFIGURE_ARGS= --with-mysql=${LOCALBASE}
USE_LDCONFIG= yes
@@ -38,7 +29,7 @@ post-patch:
${REINPLACE_CMD} s/libmysqlcppapi-1.9/libmysqlcppapi/g \
${WRKSRC}/mysqlcppapi/Makefile.in ${WRKSRC}/examples/Makefile.in
${FIND} ${WRKSRC}/mysqlcppapi -name Makefile.in \
- -exec ${REINPLACE_CMD} -e \
+ -exec ${REINPLACE_CMD} -e \
'/^library_includedir =/s,\$$(GENERIC_LIBRARY_NAME)-2.0/,,g' '{}' \;
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/p5-DBD-ODBC/Makefile b/databases/p5-DBD-ODBC/Makefile
index 10f9496b3c60..718605714557 100644
--- a/databases/p5-DBD-ODBC/Makefile
+++ b/databases/p5-DBD-ODBC/Makefile
@@ -32,10 +32,6 @@ IGNORE= selected mutually exclusive options: WITH_IODBC and WITH_UNIXODBC
WITH_IODBC?= yes
.endif
-.if defined(WITH_UNIXODBC) && ${OSVERSION} < 500016
-IGNORE= Due to some obscure -pthread things, you can not have this work
-.endif
-
.if defined(WITH_IODBC)
LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc
MYODBC= iodbc
diff --git a/databases/p5-DBZ_File/Makefile b/databases/p5-DBZ_File/Makefile
index 0f681955c593..101fcb48f7dd 100644
--- a/databases/p5-DBZ_File/Makefile
+++ b/databases/p5-DBZ_File/Makefile
@@ -16,16 +16,10 @@ MAINTAINER= leeym@FreeBSD.org
COMMENT= Perl module to access a DBZ database
PERL_CONFIGURE= yes
-CONFIGURE_ARGS= DEFINE="-I${FILESDIR}"
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500007
-CONFIGURE_ARGS+= POLLUTE=1
-.endif
+CONFIGURE_ARGS= DEFINE="-I${FILESDIR}" POLLUTE=1
WRKSRC= ${WRKDIR}/DBZ_File
MAN3= DBZ_File.3
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/pgadmin3/Makefile b/databases/pgadmin3/Makefile
index 9c616b2684bf..3b9d0ff36074 100644
--- a/databases/pgadmin3/Makefile
+++ b/databases/pgadmin3/Makefile
@@ -31,10 +31,4 @@ WX_UNICODE= yes
post-patch:
@${REINPLACE_CMD} -e 's,/wx-config,/${WX_CONFIG:T},' ${WRKSRC}/configure
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 503105 || (${OSVERSION} >= 600000 && ${OSVERSION} < 600014)
-IGNORE= can not be built. Your system has broken vswprintf(3) function
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/postgresql-libpqxx/Makefile b/databases/postgresql-libpqxx/Makefile
index 0347160c473a..151672885aa6 100644
--- a/databases/postgresql-libpqxx/Makefile
+++ b/databases/postgresql-libpqxx/Makefile
@@ -27,14 +27,4 @@ CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \
--enable-shared \
--with-postgres-include=${LOCALBASE}/include/postgresql
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-CPPFLAGS+= -I${LOCALBASE}/include/stlport
-LDFLAGS+= -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}
-CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/postgresql-libpqxx3/Makefile b/databases/postgresql-libpqxx3/Makefile
index 0347160c473a..151672885aa6 100644
--- a/databases/postgresql-libpqxx3/Makefile
+++ b/databases/postgresql-libpqxx3/Makefile
@@ -27,14 +27,4 @@ CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \
--enable-shared \
--with-postgres-include=${LOCALBASE}/include/postgresql
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-CPPFLAGS+= -I${LOCALBASE}/include/stlport
-LDFLAGS+= -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}
-CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/postgresql-libpqxx30/Makefile b/databases/postgresql-libpqxx30/Makefile
index 0347160c473a..151672885aa6 100644
--- a/databases/postgresql-libpqxx30/Makefile
+++ b/databases/postgresql-libpqxx30/Makefile
@@ -27,14 +27,4 @@ CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \
--enable-shared \
--with-postgres-include=${LOCALBASE}/include/postgresql
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-CPPFLAGS+= -I${LOCALBASE}/include/stlport
-LDFLAGS+= -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}
-CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/tora/Makefile b/databases/tora/Makefile
index 7454d2749562..e3d565bfbc74 100644
--- a/databases/tora/Makefile
+++ b/databases/tora/Makefile
@@ -56,13 +56,6 @@ INFO= tora
PREFIX2FIX= doc/help/preferences.texi src/toconfiguration.h
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600029
-BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
-CONFIGURE_ENV+= MAKEINFO=${LOCALBASE}/bin/makeinfo
-.endif
-
run-autotools:
(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ./autogen.sh)
@@ -81,4 +74,4 @@ post-install:
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/virtuoso/Makefile b/databases/virtuoso/Makefile
index 839d67ee12bd..b664732887a3 100644
--- a/databases/virtuoso/Makefile
+++ b/databases/virtuoso/Makefile
@@ -28,6 +28,8 @@ CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}"\
LDFLAGS="-L${LOCALBASE}/lib"
ONLY_FOR_ARCHS= i386
+CHECK_PORT= /usr/bin/nc -z localhost $$\1
+
OPTIONS= IMAGEMAGICK "ImageMagick support" off\
KERBEROS "Kerberos extension" off\
OPENLDAP "OpenLDAP support" off
@@ -56,13 +58,6 @@ post-install:
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 504000
-CHECK_PORT= ${LOCALBASE}/bin/nc -vz localhost $$\1 2>\&1 | ${GREP} open
-BUILD_DEPENDS+= ${NETCAT}:${PORTSDIR}/net/netcat
-.else
-CHECK_PORT= /usr/bin/nc -z localhost $$\1
-.endif
-
.if defined(WITH_IMAGEMAGICK)
CONFIGURE_ARGS+=--enable-imagemagick=${LOCALBASE}
LIB_DEPENDS+= MagickWand.1:${PORTSDIR}/graphics/ImageMagick
diff --git a/deskutils/kdissert/Makefile b/deskutils/kdissert/Makefile
index 5b68feee958c..04a11cf81476 100644
--- a/deskutils/kdissert/Makefile
+++ b/deskutils/kdissert/Makefile
@@ -23,12 +23,6 @@ USE_KDELIBS_VER= 3
USE_PYTHON_BUILD= yes
MAKE_ENV= QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}"
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-CXXFLAGS+= -fpermissive
-.endif
-
post-patch:
@${REINPLACE_CMD} -e \
's|%%LINKFLAGS%%|${PTHREAD_LIBS}|g ; \
@@ -45,4 +39,4 @@ do-install:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf install
@${STRIP_CMD} ${PREFIX}/bin/kdissert
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/deskutils/pinot/Makefile b/deskutils/pinot/Makefile
index 05d7e958c378..7c8279a641c6 100644
--- a/deskutils/pinot/Makefile
+++ b/deskutils/pinot/Makefile
@@ -70,10 +70,6 @@ DESKBAR_MOD= ${PREFIX}/${LDESKBAR_MOD}
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-BROKEN= does not build on ${OPSYS}-${OSREL}
-.endif
-
.if ${OSVERSION} < 700041
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
diff --git a/deskutils/semantik/Makefile b/deskutils/semantik/Makefile
index 5b68feee958c..04a11cf81476 100644
--- a/deskutils/semantik/Makefile
+++ b/deskutils/semantik/Makefile
@@ -23,12 +23,6 @@ USE_KDELIBS_VER= 3
USE_PYTHON_BUILD= yes
MAKE_ENV= QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}"
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-CXXFLAGS+= -fpermissive
-.endif
-
post-patch:
@${REINPLACE_CMD} -e \
's|%%LINKFLAGS%%|${PTHREAD_LIBS}|g ; \
@@ -45,4 +39,4 @@ do-install:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf install
@${STRIP_CMD} ${PREFIX}/bin/kdissert
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/deskutils/tpb/Makefile b/deskutils/tpb/Makefile
index bb2989b04621..60a9430d8e68 100644
--- a/deskutils/tpb/Makefile
+++ b/deskutils/tpb/Makefile
@@ -48,10 +48,4 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/doc/callback_example.sh ${DOCSDIR}
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600030
-IGNORE=is not supported on FreeBSD < 6.0
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>