diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-12 10:34:46 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-12 10:34:46 +0000 |
commit | f3381fa548d3edd4687bf4cf975577eeb10d68b7 (patch) | |
tree | a607b9b0948608d5c47edc8a47b7a82c47b30717 /emulators/advancemenu | |
parent | 67375d16b1d5928bed929dcddfd6dcf003678869 (diff) | |
download | ports-f3381fa548d3edd4687bf4cf975577eeb10d68b7.tar.gz ports-f3381fa548d3edd4687bf4cf975577eeb10d68b7.zip |
Notes
Diffstat (limited to 'emulators/advancemenu')
-rw-r--r-- | emulators/advancemenu/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/emulators/advancemenu/Makefile b/emulators/advancemenu/Makefile index e49737656292..6c86df379023 100644 --- a/emulators/advancemenu/Makefile +++ b/emulators/advancemenu/Makefile @@ -23,8 +23,8 @@ GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS= FREETYPE "Enable FreeType2 support" off \ - SLANG "Enable sLang support (for video driver)" off +OPTIONS_DEFINE= FREETYPE SLANG DOCS +SLANG_DESC= Enable sLang support (for video driver) MAN1= advmenu.1 @@ -34,13 +34,13 @@ MAN1= advmenu.1 BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm .endif -.if defined(WITH_FREETYPE) +.if ${PORT_OPTIONS:MFREETYPE} LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 .else CONFIGURE_ARGS+=--disable-freetype .endif -.if defined(WITH_SLANG) +.if ${PORT_OPTIONS:MSLANG} LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2 .else CONFIGURE_ARGS+=--disable-slang @@ -49,7 +49,7 @@ CONFIGURE_ARGS+=--disable-slang post-patch: @${REINPLACE_CMD} -Ee 's|^(pkg.*)/advance|\1/${PORTNAME}|; /pkgdir/d' \ ${WRKSRC}/advance/advance.mak -.if defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '/pkgdocdir/d' ${WRKSRC}/advance/advance.mak .endif |