Annotation of ports/productivity/gbirthday/Makefile, Revision 1.5
1.1 yason 1: # $OpenBSD$
2:
1.2 kirby 3: COMMENT = birthday reminder
1.1 yason 4:
1.2 kirby 5: DISTNAME = gbirthday-0.6.7
1.1 yason 6:
7: CATEGORIES = productivity x11
8:
9: HOMEPAGE = http://gbirthday.sourceforge.net/
10:
1.2 kirby 11: MAINTAINER = Kirill Bychkov <kirby@openbsd.org>
1.1 yason 12:
13: # GPLv2
14: PERMIT_PACKAGE_CDROM = Yes
15:
16: MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=gbirthday/}
17:
18: MODULES = lang/python
19: RUN_DEPENDS = devel/desktop-file-utils \
20: devel/py-notify \
1.3 kirby 21: x11/gtk+2,-guic \
1.1 yason 22: x11/py-gtk2
23: NO_BUILD = Yes
1.2 kirby 24: NO_TEST = Yes
1.1 yason 25:
26: MODPY_ADJ_FILES += src/gb
27:
28: post-patch:
29: perl -pi -e 's|_Comment|Comment|' ${WRKSRC}/gbirthday.desktop.in
30:
31: do-install:
32: ${INSTALL_SCRIPT} ${WRKSRC}/src/gb ${PREFIX}/bin/gbirthday
1.5 ! kirby 33: ${INSTALL_DATA_DIR} ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/
! 34: cd ${WRKSRC}/src/ && pax -rw gbirthday \
! 35: ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/
1.1 yason 36: ${INSTALL_DATA_DIR} ${PREFIX}/share/applications
37: ${INSTALL_DATA} ${WRKSRC}/gbirthday.desktop.in \
38: ${PREFIX}/share/applications/gbirthday.desktop
1.3 kirby 39: ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/scalable/apps/
40: ${INSTALL_DATA} ${WRKSRC}/pics/gbirthday.svg \
41: ${PREFIX}/share/icons/hicolor/scalable/apps/
1.1 yason 42:
1.2 kirby 43: post-install:
44: ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
45: ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/gbirthday
1.1 yason 46:
47: .include <bsd.port.mk>
CVSweb