- don't use FULLPKGNAME in PLIST
- link .desktop file and icon to proper places noticed by and ok ajacoutot@, ok gonzalo@
This commit is contained in:
parent
cab1900edc
commit
d792e9704b
@ -1,8 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/05/03 18:00:51 pascal Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2012/05/03 22:07:44 pascal Exp $
|
||||
|
||||
COMMENT = terminal status monitor for Tor
|
||||
|
||||
DISTNAME = arm-1.4.5.0
|
||||
V = 1.4.5.0
|
||||
DISTNAME = arm-${V}
|
||||
REVISION = 0
|
||||
|
||||
SUBST_VARS += V
|
||||
|
||||
CATEGORIES = net
|
||||
|
||||
@ -40,4 +44,11 @@ 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 <bsd.port.mk>
|
||||
|
@ -1,8 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/05/03 18:00:51 pascal Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2012/05/03 22:07:44 pascal Exp $
|
||||
bin/arm
|
||||
@man man/man1/arm.1
|
||||
share/applications/tor-arm.desktop
|
||||
share/arm-${V}-py${MODPY_VERSION}.egg-info
|
||||
share/arm/
|
||||
share/${FULLPKGNAME}-py${MODPY_VERSION}.egg-info
|
||||
share/arm/TorCtl/
|
||||
share/arm/TorCtl/GeoIPSupport.py
|
||||
share/arm/TorCtl/GeoIPSupport.pyc
|
||||
@ -167,5 +168,7 @@ share/arm/version.py
|
||||
share/arm/version.pyc
|
||||
share/doc/arm/
|
||||
share/doc/arm/armrc.sample
|
||||
share/pixmaps/
|
||||
share/pixmaps/tor-arm.svg
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec-delete %D/bin/update-desktop-database
|
||||
|
Loading…
x
Reference in New Issue
Block a user