diff options
author | bapt <bapt@FreeBSD.org> | 2012-05-31 01:13:06 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-05-31 01:13:06 +0800 |
commit | d6d8d77eacf8b905b8439e0baf682093fc2beffc (patch) | |
tree | b982f1cf8e56a25d6b9c179c379877e5dccb0205 /multimedia/win32-codecs | |
parent | 8dc7ec80f902c0c7dc3149a044b0e2ffa368ef06 (diff) | |
download | freebsd-ports-gnome-d6d8d77eacf8b905b8439e0baf682093fc2beffc.tar.gz freebsd-ports-gnome-d6d8d77eacf8b905b8439e0baf682093fc2beffc.tar.zst freebsd-ports-gnome-d6d8d77eacf8b905b8439e0baf682093fc2beffc.zip |
convert to new options framework
Diffstat (limited to 'multimedia/win32-codecs')
-rw-r--r-- | multimedia/win32-codecs/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/multimedia/win32-codecs/Makefile b/multimedia/win32-codecs/Makefile index 15a105b3758d..c43c13af55b1 100644 --- a/multimedia/win32-codecs/Makefile +++ b/multimedia/win32-codecs/Makefile @@ -47,11 +47,13 @@ ADDITIONAL_CODECS_WRKSRC= ${DISTFILES:S/.tar.bz2//} REMOVE_CODECS_FILES= AvidQTAVUICodec.qtx QuickTimeEssentials.qtx QuickTime.qts \ QuickTimeInternetExtras.qtx qtmlClient.dll BeHereiVideo.qtx -OPTIONS= REALPLAYER "Install realplayer codec" on +OPTIONS_DEFINE= REALPLAYER +OPTIONS_DEFAULT= REALPLAYER +REALPLAYER_DESC= Install realplayer codec -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_REALPLAYER) +.if ${PORT_OPTIONS:MREALPLAYER} ADDITIONAL_CODECS_DISTFILES+= rp9codecs-20050115.tar.bz2 \ rp9codecs-win32-20050115.tar.bz2 PLIST_SUB+= REALPLAYER="" @@ -83,4 +85,4 @@ do-install: @${CP} /dev/null ${PREFIX}/lib/win32/${PKGNAME} @${CHMOD} 0444 ${PREFIX}/lib/win32/${PKGNAME} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |