60d1a83c2a
- 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
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
# Created by: Tobias Roth <ports@fsck.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= treeline
|
|
PORTVERSION= 1.4.1
|
|
PORTREVISION= 8
|
|
CATEGORIES= deskutils python
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/:treeline \
|
|
http://treeline.bellz.org/plugins/:plugins \
|
|
http://depot.fsck.ch/mirror/distfiles/:treeline,plugins
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:treeline
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= pawel@FreeBSD.org
|
|
COMMENT= Structured information storage program
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui \
|
|
${PYTHON_PKGNAMEPREFIX}qt4-network>=0:${PORTSDIR}/net/py-qt4-network \
|
|
aspell:${PORTSDIR}/textproc/aspell
|
|
|
|
WRKSRC= ${WRKDIR}/TreeLine
|
|
USE_QT4= # empty
|
|
USES= python:2
|
|
NO_BUILD= yes
|
|
|
|
DESKTOP_ENTRIES= "TreeLine" "" "${DATADIR}/icons/tree/treeline.png" \
|
|
"${PORTNAME}" "Utility;" false
|
|
|
|
OPTIONS_DEFINE= DOCS HTTPLOAD
|
|
OPTIONS_SUB= yes
|
|
|
|
HTTPLOAD_DESC= httpLoad plugin
|
|
HTTPLOAD_DISTFILES= httpload2.py:plugins
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${PYTHON_CMD} install.py -b ${STAGEDIR} -p ${PREFIX} \
|
|
-d ${DOCSDIR} -i ${DATADIR}/icons)
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugins
|
|
.if ${PORT_OPTIONS:MHTTPLOAD}
|
|
${INSTALL_DATA} ${DISTDIR}/httpload2.py \
|
|
${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugins
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|