Changeset View
Changeset View
Standalone View
Standalone View
cad/libgeda/Makefile
Show All 21 Lines | |||||
USE_GNOME= gtk20 | USE_GNOME= gtk20 | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
CONFIGURE_ARGS= --disable-update-mime-database \ | CONFIGURE_ARGS= --disable-update-mime-database \ | ||||
--disable-update-desktop-database | --disable-update-desktop-database | ||||
CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
LDFLAGS+= -L${LOCALBASE}/lib | LDFLAGS+= -L${LOCALBASE}/lib | ||||
OPTIONS_DEFINE= NLS | OPTIONS_DEFINE= NLS | ||||
OPTIONS_SUB= yes | |||||
.include <bsd.port.options.mk> | NLS_USES= gettext | ||||
NLS_CONFIGURE_ENABLE= nls | |||||
.if ${PORT_OPTIONS:MNLS} | |||||
USES+= gettext | |||||
PLIST_SUB+= NLS="" | |||||
.else | |||||
CONFIGURE_ARGS+= --disable-nls | |||||
PLIST_SUB+= NLS="@comment " | |||||
.endif | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -E \ | @${REINPLACE_CMD} -E \ | ||||
-e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \ | -e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \ | ||||
${WRKSRC}/configure | ${WRKSRC}/configure | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |