diff options
author | jgh <jgh@FreeBSD.org> | 2013-06-05 09:18:48 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-06-05 09:18:48 +0800 |
commit | 6317af641b81b2b6f3a1ed0a5c4fdd85a278685a (patch) | |
tree | 5f2fe2eaf179ad68823485275b4dcfd6ef368d2d /multimedia/py-periscope/Makefile | |
parent | feedea537966ec2eb1c176532103c56d0f56f2e9 (diff) | |
download | freebsd-ports-gnome-6317af641b81b2b6f3a1ed0a5c4fdd85a278685a.tar.gz freebsd-ports-gnome-6317af641b81b2b6f3a1ed0a5c4fdd85a278685a.tar.zst freebsd-ports-gnome-6317af641b81b2b6f3a1ed0a5c4fdd85a278685a.zip |
- adoption of optionsNG
- while here convert to USES for py-periscope
Approved by: portmgr (bapt)
Diffstat (limited to 'multimedia/py-periscope/Makefile')
-rw-r--r-- | multimedia/py-periscope/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/multimedia/py-periscope/Makefile b/multimedia/py-periscope/Makefile index 20851c4a331c..3f05f36e4427 100644 --- a/multimedia/py-periscope/Makefile +++ b/multimedia/py-periscope/Makefile @@ -1,7 +1,4 @@ -# New ports collection makefile for: periscope -# Date created: Sun Jul 24 20:23:58 UTC 2011 -# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> -# +# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> # $FreeBSD$ PORTNAME= periscope @@ -27,8 +24,12 @@ USE_GNOME= desktopfileutils USE_PYTHON= 2.6+ USE_PYDISTUTILS= easy_install NO_WRKSUBDIR= yes +USES= desktop-file-utils -OPTIONS= UNRAR "Enable support for rar (.rar) compressed subtitles" on +OPTIONS_DEFINE= UNRAR +UNRAR_DESC= rar support (.rar) for compressed subtitles + +OPTIONS_DEFAULT= UNRAR PLIST_SUB= DESKTOPDIR=${DESKTOPDIR_WITHOUT_PREFIX:Q} @@ -38,12 +39,11 @@ post-install: @${MKDIR} ${DESKTOPDIR} @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/periscope.desktop \ ${DESKTOPDIR} - @-${LOCALBASE}/bin/update-desktop-database +.include <bsd.port.options.mk> .include <bsd.port.pre.mk> -# unrar (.rar) support -.if !defined(WITHOUT_UNRAR) +.if ${PORT_OPTIONS:MUNRAR} RUN_DEPENDS+= unrar:${PORTSDIR}/archivers/unrar .endif |