blob: 0daac1c26b5714233943c7677d1f0cecb01ec3f0 (
plain) (
blame)
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
|
# New ports collection makefile for: pybliographer
# Date created: 7 December 2000
# Whom: Johann Visagie <johann@egenetics.com>
#
# $FreeBSD$
#
PORTNAME= pybliographer
PORTVERSION= 1.0.11
PORTREVISION= 6
CATEGORIES= misc python gnome
MASTER_SITES= GNOME
MASTER_SITE_SUBDIR= sources/pybliographer/1.0
MAINTAINER= ports@FreeBSD.org
COMMENT= GUI and command-line tools for editing and searching bibliographic databases
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-1.2/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome \
recode:${PORTSDIR}/converters/recode
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-1.2/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome \
recode:${PORTSDIR}/converters/recode
BROKEN= does not compile
DEPRECATED= has been broken for more than 6 months
EXPIRATION_DATE=2009-01-19
USE_GNOME= glib12 gnomehack gnomeprefix
USE_PYTHON= yes
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
Python="${PYTHON_CMD}"
CONFIGURE_ARGS= --with-recode-prefix="${LOCALBASE}"
.include <bsd.port.pre.mk>
pre-patch:
@${REINPLACE_CMD} -e 's|glib-config|${GLIB_CONFIG}|g ; \
s|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
${WRKSRC}/configure
.if ${PYTHON_REL} >= 230
@${REINPLACE_CMD} 's|@DEFS@||g' ${WRKSRC}/compiled/Makefile.pre.in
.endif
post-configure:
${GREP} '^BLDSHARED' ${PYTHON_LIBDIR}/config/Makefile >> \
${WRKSRC}/Makefile
post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
${PREFIX}/share/${PORTNAME}
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
${PREFIX}/share/${PORTNAME}
.include <bsd.port.post.mk>
|