ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/x11-toolkits/py-gnome2/Makefile
Revision: 15462
Committed: Tue Sep 17 03:15:41 2013 UTC (10 years, 8 months ago) by laffer1
File size: 1293 byte(s)
Log Message:
fixup some properties.

File Contents

# Content
1 # $MidnightBSD$
2
3 PORTNAME= gnome
4 PORTVERSION= 2.28.1
5 PORTREVISION= 3
6 CATEGORIES= x11-toolkits python gnome
7 MASTER_SITES= GNOME
8 MASTER_SITE_SUBDIR= sources/gnome-python/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
9 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
10 DISTNAME= gnome-python-${PORTVERSION}
11 DIST_SUBDIR= gnome2
12
13 MAINTAINER= ports@MidnightBSD.org
14 COMMENT= A set of Python bindings for GNOME 2
15 LICENSE= lgpl
16
17 BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/ORBit.so:${PORTSDIR}/devel/py-orbit
18 RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ORBit.so:${PORTSDIR}/devel/py-orbit
19
20 LATEST_LINK= py-gnome2
21 USE_BZIP2= yes
22 USE_GMAKE= yes
23 USE_PYTHON= yes
24 USE_LDCONFIG= yes
25 USE_GETTEXT= yes
26 USE_GNOME= gnomehack libgnomeui pygtk2
27 GNU_CONFIGURE= yes
28 CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" \
29 PTHREAD_LIBS="${PTHREAD_LIBS}"
30 CPPFLAGS+= -I${LOCALBASE}/include
31
32 EG_SRC_DIR= ${WRKSRC}/examples
33 EG_DST_DIR= ${PREFIX}/share/examples/py-gnome
34
35 CONFLICTS= py*-gnome-1*
36
37 .include <bsd.port.pre.mk>
38
39 .if !defined(NOPORTDOCS)
40 post-install:
41 ${MKDIR} ${EG_DST_DIR}
42 ${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EG_DST_DIR} -xf -
43 ${CHOWN} -R ${BINOWN}:${BINGRP} ${EG_DST_DIR}
44 ${FIND} ${EG_DST_DIR} -type d -print | ${XARGS} ${CHMOD} 0555
45 ${FIND} ${EG_DST_DIR} -type f -print | ${XARGS} ${CHMOD} 0444
46 .endif
47
48 .include <bsd.port.post.mk>

Properties

Name Value
svn:keywords MidnightBSD=%H