freebsd-ports/editors/scribes/Makefile
Antoine Brodin 728929b709 Switch ports depending on docbook* through a directory name to a package name,
as a directory name can't be attributed to a package
2015-01-23 22:50:49 +00:00

37 lines
1.1 KiB
Makefile

# Created by: Pav Lucistnik <pav@FreeBSD.org>
# $FreeBSD$
PORTNAME= scribes
PORTVERSION= 0.4.b954
PORTREVISION= 3
CATEGORIES= editors
MASTER_SITES= https://launchpadlibrarian.net/66129407/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}-dev-${PORTVERSION:E:S/b/build/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Slick yet powerful text editor for GNOME
LICENSE= GPLv2
BROKEN= Uses unknown GNOME component pygnomeextras
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:${PORTSDIR}/devel/py-dbus
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:${PORTSDIR}/devel/py-dbus \
${PYTHON_PKGNAMEPREFIX}xdg>0:${PORTSDIR}/devel/py-xdg \
docbook-xml>0:${PORTSDIR}/textproc/docbook-xml \
yelp:${PORTSDIR}/x11/yelp
USES= desktop-file-utils gettext gmake python shebangfix tar:bzip2
SHEBANG_FILES= scribes.in
USE_GNOME= gnomeprefix pygnomeextras pygtksourceview gnomedocutils
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-install:
@(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall lib/scribes)
.include <bsd.port.mk>