blob: 2eaf26ecc775d0add287cc420af9bec0b11790a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# New ports collection makefile for: foomatic-db
# Date created: 01 March 2003
# Whom: Dima Dorfman <dima@unixfreak.org>
#
# $FreeBSD$
#
PORTNAME= foomatic-db
PORTVERSION= 20040107
PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_LOCAL}
NO_CHECKSUM= ${DISTFILES}
MAINTAINER= ports@FreeBSD.org
COMMENT= Foomatic database
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
curl.3:${PORTSDIR}/ftp/curl
USE_GMAKE= yes
USE_PERL5= yes
USE_BZIP2= yes
USE_AUTOCONF_VER= 253
GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
CVS_CMD?= cvs -z3
CVS_DATE= ${PORTVERSION}
CVS_SITES?= pserver:anonymous@cvs.linuxprinting.org:/usr/local/cvs
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}" ${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
pre-configure:
@cd ${WRKSRC} && ./make_configure
.include <bsd.port.post.mk>
|