freebsd-ports/sysutils/polkit-kde/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

34 lines
785 B
Makefile

# Created by: Dima Panov <fluffy@Fluffy.Khv.RU>
# $FreeBSD$
PORTNAME= polkit-kde
PORTVERSION= 0.99.1
PORTREVISION= 3
CATEGORIES= sysutils kde
MASTER_SITES= KDE/stable/apps/KDE4.x/admin/
DISTNAME= ${PORTNAME}-agent-1-${PORTVERSION:C/1$/0/}
MAINTAINER= kde@FreeBSD.org
COMMENT= Polkit authentication UI for KDE Workspaces
LICENSE= GPLv2
LIB_DEPENDS= libpolkit-qt-agent-1.so:${PORTSDIR}/sysutils/polkit-qt
USE_KDE4= kdelibs kdeprefix automoc4
USE_QT4= moc_build qmake_build rcc_build uic_build
USES= cmake tar:bzip2
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_CMAKE_OFF= -DBUILD_po:BOOL=FALSE
NLS_USES= gettext
.include <bsd.port.options.mk>
post-patch:
${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|libdata/pkgconfig|' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>