diff options
author | bapt <bapt@FreeBSD.org> | 2013-05-06 16:31:29 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-05-06 16:31:29 +0800 |
commit | 9ab231fac3dea278558297213676172b7fd2badf (patch) | |
tree | 933a79805e8e74784ee3f4b8399955b260e7b423 /graphics/frei0r-plugins | |
parent | 0631fa015956774971c9e5ce20be0e8b74aa515d (diff) | |
download | freebsd-ports-gnome-9ab231fac3dea278558297213676172b7fd2badf.tar.gz freebsd-ports-gnome-9ab231fac3dea278558297213676172b7fd2badf.tar.zst freebsd-ports-gnome-9ab231fac3dea278558297213676172b7fd2badf.zip |
Convert to new options framework
Diffstat (limited to 'graphics/frei0r-plugins')
-rw-r--r-- | graphics/frei0r-plugins/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/graphics/frei0r-plugins/Makefile b/graphics/frei0r-plugins/Makefile index 1bbe606d8065..cc2f59e9d396 100644 --- a/graphics/frei0r-plugins/Makefile +++ b/graphics/frei0r-plugins/Makefile @@ -1,9 +1,4 @@ -# New ports collection makefile for: frei0r-plugins -# Date created: 29 June 2011 -# Whom: Alberto Villa <avilla@FreeBSD.org> -# # $FreeBSD$ -# PORTREVISION= 0 PKGNAMESUFFIX= -plugins @@ -24,18 +19,20 @@ PLIST= ${WRKDIR}/PLIST BUILDING_FREI0R_METAPORT= yes -OPTIONS= GAVL "Install gavl plugins" on \ - OPENCV "Install OpenCV plugins" on +OPTIONS_DEFINE= GAVL OPENCV +OPTIONS_DEFAULT= GAVL OPENCV +GAVL_DESC= Install gavl plugins +OPENCV_DESC= Install OpenCV plugins .include "${MASTERDIR}/Makefile" .include <bsd.port.options.mk> -.if !defined(WITHOUT_GAVL) +.if ${PORT_OPTIONS:MGAVL} RUN_DEPENDS+= ${LOCALBASE}/lib/frei0r-1/rgbparade.so:${PORTSDIR}/graphics/frei0r-plugins-gavl .endif -.if !defined(WITHOUT_OPENCV) +.if ${PORT_OPTIONS:MOPENCV} RUN_DEPENDS+= ${LOCALBASE}/lib/frei0r-1/facedetect.so:${PORTSDIR}/graphics/frei0r-plugins-opencv .endif |