mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
d5caf944f3
- Remove pkg-install script, plugins directory is created in do-install target, no need to do this twice - Add LICENSE_FILE - Convert to USES=pyqt
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# Created by: Tobias Roth <ports@fsck.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= treeline
|
|
PORTVERSION= 1.4.1
|
|
PORTREVISION= 9
|
|
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
|
|
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
|
|
|
|
BUILD_DEPENDS= aspell:textproc/aspell
|
|
RUN_DEPENDS= aspell:textproc/aspell
|
|
|
|
USES= python:2 pyqt:4
|
|
USE_PYQT= gui network sip_build
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
WRKSRC= ${WRKDIR}/TreeLine
|
|
|
|
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
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${PYTHON_CMD} install.py -b ${STAGEDIR} -p ${PREFIX} \
|
|
-d ${DOCSDIR} -i ${DATADIR}/icons)
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugins
|
|
|
|
do-install-HTTPLOAD-on:
|
|
${INSTALL_DATA} ${DISTDIR}/httpload2.py \
|
|
${STAGEDIR}${PREFIX}/lib/${PORTNAME}/plugins
|
|
|
|
.include <bsd.port.mk>
|