aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/compat3x/Makefile50
-rw-r--r--misc/compat3x/distinfo19
2 files changed, 52 insertions, 17 deletions
diff --git a/misc/compat3x/Makefile b/misc/compat3x/Makefile
index fdf9d5fcfe9a..97178d58b6b9 100644
--- a/misc/compat3x/Makefile
+++ b/misc/compat3x/Makefile
@@ -6,21 +6,15 @@
#
PORTNAME= compat3x
-PORTVERSION= 4.3
-PORTREVISION= 1
+PORTVERSION= ${COMPAT3X_PORTVERSION}
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_FREEBSD_ORG}
-MASTER_SITE_SUBDIR= releases/${ARCH}/${PORTVERSION}-RELEASE/${PORTNAME}
+MASTER_SITES= ${COMPAT3X_MASTER_SITES}
+MASTER_SITE_SUBDIR= ${COMPAT3X_MASTER_SITE_SUBDIR}
PKGNAMESUFFIX= -${ARCH}
-DISTFILES= ${PORTNAME}.aa \
- ${PORTNAME}.ab \
- ${PORTNAME}.ac \
- ${PORTNAME}.ad \
- ${PORTNAME}.ae \
- ${PORTNAME}.af
+DISTFILES= ${COMPAT3X_DISTFILES}
DIST_SUBDIR= ${ARCH}/${PORTVERSION}
-MAINTAINER= hetzels@westbend.net
+MAINTAINER= ports@FreeBSD.org
ONLY_FOR_ARCHS= i386
@@ -33,6 +27,40 @@ INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/compat
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 500000
+COMPAT3X_OSVERSION= 5.0
+COMPAT3X_OSRELDATE= 20011011
+COMPAT3X_OSBRANCH= CURRENT
+COMPAT3X_MASTER_SITES= ftp://current.FreeBSD.org/pub/FreeBSD/%SUBDIR%/
+COMPAT3X_DISTFILES= ${PORTNAME}.aa \
+ ${PORTNAME}.ab \
+ ${PORTNAME}.ac \
+ ${PORTNAME}.ad \
+ ${PORTNAME}.ae \
+ ${PORTNAME}.af \
+ ${PORTNAME}.ag
+PLIST_SUB= CURRENT_ONLY:=""
+.else
+COMPAT3X_OSVERSION= 4.4
+COMPAT3X_OSRELDATE= 20011011
+COMPAT3X_OSBRANCH= STABLE
+COMPAT3X_MASTER_SITES= ftp://stable.FreeBSD.org/pub/FreeBSD/%SUBDIR%/
+COMPAT3X_DISTFILES= ${PORTNAME}.aa \
+ ${PORTNAME}.ab \
+ ${PORTNAME}.ac \
+ ${PORTNAME}.ad \
+ ${PORTNAME}.ae \
+ ${PORTNAME}.af
+PLIST_SUB= CURRENT_ONLY:="@comment "
+.endif
+
+.if defined(COMPAT3X_OSRELDATE) && !empty(COMPAT3X_OSRELDATE)
+COMPAT3X_PORTVERSION= ${COMPAT3X_OSVERSION}.${COMPAT3X_OSRELDATE}
+COMPAT3X_MASTER_SITE_SUBDIR= snapshots/${ARCH}/${COMPAT3X_OSVERSION}-${COMPAT3X_OSRELDATE}-${COMPAT3X_OSBRANCH}/${PORTNAME}
+.else
+COMPAT3X_PORTVERSION= ${COMPAT3X_OSVERSION}
+COMPAT3X_MASTER_SITE_SUBDIR= releases/${ARCH}/${COMPAT3X_OSVERSION}-RELEASE/${PORTNAME}
+.endif
do-extract:
${MKDIR} ${WRKDIR}
diff --git a/misc/compat3x/distinfo b/misc/compat3x/distinfo
index 0d522a851f4e..bd8ad822f988 100644
--- a/misc/compat3x/distinfo
+++ b/misc/compat3x/distinfo
@@ -1,6 +1,13 @@
-MD5 (i386/4.3/compat3x.aa) = 3b910273f01d53c34f049fdcb24e81fe
-MD5 (i386/4.3/compat3x.ab) = 89b966359f5c42b54ecd946d12783616
-MD5 (i386/4.3/compat3x.ac) = 42627a60446f2695f49438d0a989ac81
-MD5 (i386/4.3/compat3x.ad) = 0e2c7ecededae1464c8eff7765d2fa45
-MD5 (i386/4.3/compat3x.ae) = a2aba322ce46ee6f56a74f420e09cac1
-MD5 (i386/4.3/compat3x.af) = 5c468e681b6efb9a0ea7faf7187535bc
+MD5 (i386/4.4.20011011/compat3x.aa) = 705595a7422dd7c7833521f4c77962cc
+MD5 (i386/4.4.20011011/compat3x.ab) = 9620332c25db1e6fa8cb1595d8714cc8
+MD5 (i386/4.4.20011011/compat3x.ac) = baf69ec22f13482d9a13d60d802bed72
+MD5 (i386/4.4.20011011/compat3x.ad) = ce80da085dc5e27e17382a6806298dfb
+MD5 (i386/4.4.20011011/compat3x.ae) = a5a30026a842eaa5ed088366a4e01be1
+MD5 (i386/4.4.20011011/compat3x.af) = bb4671ae98f0d1b572559865582d5216
+MD5 (i386/5.0.20011011/compat3x.aa) = f8f62dc8dfb8896348e2d2ddcca6d763
+MD5 (i386/5.0.20011011/compat3x.ab) = f977f74f6a3767fa8948bdbe300bb5c4
+MD5 (i386/5.0.20011011/compat3x.ac) = 4bf7bd59cbb82f47198439ad27de1b30
+MD5 (i386/5.0.20011011/compat3x.ad) = bbef0a1dccc456d1fee306f852838b33
+MD5 (i386/5.0.20011011/compat3x.ae) = 7ff04f8b2e8ad7cab7bd10884bf5c5e1
+MD5 (i386/5.0.20011011/compat3x.af) = 3f9f720ed8c4c654011eddaa4d5bba4f
+MD5 (i386/5.0.20011011/compat3x.ag) = 9c3e47258c49a91765965bd121452c40