freebsd-ports/devel/py-notify/Makefile
Antoine Brodin f7455240e3 Reduce dependency on the python2 metaport
PR:		225752
Submitted by:	Yasuhiro KIMURA
2018-02-19 11:10:43 +00:00

35 lines
767 B
Makefile

# $FreeBSD$
PORTNAME= notify
PORTVERSION= 0.1.1
DISTVERSIONPREFIX=python-
PORTREVISION= 12
CATEGORIES= devel python
MASTER_SITES= http://www.galago-project.org/files/releases/source/notify-python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= gnome@FreeBSD.org
COMMENT= python bindings for libnotify
OPTIONS_DEFINE= DOCS
LIB_DEPENDS= libnotify.so:devel/libnotify
USES= gmake libtool:keepla pathfix pkgconfig python:2.7 tar:bzip2
USE_GNOME= pygtk2
USE_PYTHON= flavors
INSTALL_TARGET= install-strip
GNU_CONFIGURE= yes
DOCS= AUTHORS COPYING ChangeLog NEWS
post-extract:
@${RM} ${WRKSRC}/src/pynotify.c
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>