# $OpenBSD: Makefile,v 1.2 2012/05/03 22:07:44 pascal Exp $ COMMENT = terminal status monitor for Tor V = 1.4.5.0 DISTNAME = arm-${V} REVISION = 0 SUBST_VARS += V CATEGORIES = net HOMEPAGE = http://www.atagar.com/arm/ MAINTAINER = Pascal Stumpf # GPLv3 PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes MASTER_SITES = http://archive.torproject.org/arm/ EXTRACT_SUFX = .tar.bz2 MODULES = lang/python RUN_DEPENDS = net/tor \ sysutils/lsof \ devel/desktop-file-utils \ x11/gnome/librsvg NO_REGRESS = Yes WRKDIST = ${WRKDIR}/arm MODPY_ADJ_FILES = src/starter.py src/test.py \ src/resources/torrcOverride/override.py .for i in ScanSupport.py TorCtl.py StatsSupport.py PathSupport.py \ GeoIPSupport.py SQLSupport.py TorUtil.py MODPY_ADJ_FILES += src/TorCtl/${i} .endfor pre-configure: ${SUBST_CMD} ${WRKSRC}/setup.py ${WRKSRC}/arm ${WRKSRC}/install \ ${WRKSRC}/src/resources/arm.1 post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/applications ${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps cd ${PREFIX}/share/applications && ln -s \ ../arm/resources/tor-arm.desktop . cd ${PREFIX}/share/pixmaps && ln -s ../arm/resources/tor-arm.svg . .include