Index: multimedia/gmencoder/Makefile @@ -35,8 +35,6 @@ PLIST_SUB+= NLS="@comment " .endif -.include - .if defined(WITH_DVD_DEVICE) DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE} .else @@ -55,7 +53,7 @@ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|' \ ${WRKSRC}/src/main.c ${WRKSRC}/src/interface.c -.if defined(WITHOUT_NLS) +.if ! ${PORT_OPTIONS:MNLS} @${REINPLACE_CMD} -e '/^ALL_LINGUAS/d' ${WRKSRC}/configure .endif @@ -68,4 +66,4 @@ .endif ${INSTALL_MAN} ${WRKSRC}/man/gmencoder.1 ${MANPREFIX}/man/man1 -.include +.include