aboutsummaryrefslogtreecommitdiffstats
path: root/print/foomatic-db/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-05-31 17:43:50 +0800
committerpav <pav@FreeBSD.org>2006-05-31 17:43:50 +0800
commit0e5477196ba67b48aa8d81a86bc484eddee946df (patch)
tree693a71ab7f7bd7f7e72a1a9d50b2a338c753c557 /print/foomatic-db/Makefile
parenta630290b99998215f7e6def39cccbf1297001792 (diff)
downloadfreebsd-ports-gnome-0e5477196ba67b48aa8d81a86bc484eddee946df.tar.gz
freebsd-ports-gnome-0e5477196ba67b48aa8d81a86bc484eddee946df.tar.zst
freebsd-ports-gnome-0e5477196ba67b48aa8d81a86bc484eddee946df.zip
- Update to 20060531
- Switch to tarballs and host them locally PR: ports/98201 Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> (maintainer)
Diffstat (limited to 'print/foomatic-db/Makefile')
-rw-r--r--print/foomatic-db/Makefile52
1 files changed, 10 insertions, 42 deletions
diff --git a/print/foomatic-db/Makefile b/print/foomatic-db/Makefile
index af53e2c42aa6..6db6632f9b68 100644
--- a/print/foomatic-db/Makefile
+++ b/print/foomatic-db/Makefile
@@ -5,11 +5,14 @@
# $FreeBSD$
#
-PORTNAME= foomatic-db
-PORTVERSION= 20060506
+PORTNAME= db
+PORTVERSION= 20060531
CATEGORIES= print
-MASTER_SITES= # custom fetch
-NO_CHECKSUM= ${DISTFILES}
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= pav
+PKGNAMEPREFIX= foomatic-
+DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${FOOMATICVER}-${PORTVERSION}
+DIST_SUBDIR= foomatic
MAINTAINER= acardenas@bsd.org.pe
COMMENT= Foomatic database
@@ -19,50 +22,15 @@ LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
USE_GMAKE= yes
USE_PERL5= yes
-USE_BZIP2= yes
USE_AUTOTOOLS= automake:15:env autoconf:259
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-.include <bsd.port.pre.mk>
-CVS_CMD?= cvs -z3
-CVS_DATE= ${PORTVERSION}
-CVS_SITES?= pserver:anonymous@cvs.linuxprinting.org:/var/lib/cvs
-CVS_BRANCH= foomatic-3_0-branch # STABLE
-CVS_MODULE= foomatic-db
-
-#
-# CVS checkout stuff mostly stolen from security/openssh-askpass port by
-# kris@freebsd.org
-#
-do-fetch:
- @if test ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ; then \
- ${MKDIR} ${DISTDIR}/${DISTNAME} && \
- cd ${DISTDIR}/${DISTNAME}; \
- for CVS_SITE in ${CVS_SITES}; do \
- ${ECHO_MSG} ">> Attempting to check out from $${CVS_SITE}."; \
- if ${CVS_CMD} -d:$${CVS_SITE} co -D "${CVS_DATE}" -r ${CVS_BRANCH} ${CVS_MODULE}; \
- then \
- cd ${DISTDIR}; \
- ${ECHO_MSG} ">> Creating dist tarball in ${DISTDIR}"; \
- ${ECHO_MSG} ">> \"${DISTNAME}${EXTRACT_SUFX}\"."; \
- ${MV} ${DISTNAME}/${CVS_MODULE} \
- ${DISTNAME}/${CVS_MODULE:H}/${DISTNAME}; \
- ${TAR} -cj \
- -X ${FILESDIR}/tarignore \
- -f ${DISTNAME}${EXTRACT_SUFX} \
- -C ${DISTNAME}/${CVS_MODULE:H} \
- ${DISTNAME}; \
- exit; \
- fi \
- done; \
- ${RMDIR} ${DISTDIR}/${DISTNAME}; \
- ${ECHO_MSG} ">> CVS checkout failed."; \
- exit 1; \
- fi
+FOOMATICVER= 3.0
+WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
pre-configure:
@cd ${WRKSRC} && ${ACLOCAL} && ${AUTOCONF}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>