diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2009-02-21 11:43:23 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2009-02-21 11:43:23 +0000 |
commit | 98130c3c16717c3337634ac1e924b9dd4e3df27f (patch) | |
tree | 16a2733a669c0bbe164aa8b881df9d60a67de753 /cad/geda-gattrib | |
parent | 5f6ba2a345062d46d2e16bd1d6c5854e528a096e (diff) |
Notes
Diffstat (limited to 'cad/geda-gattrib')
-rw-r--r-- | cad/geda-gattrib/Makefile | 10 | ||||
-rw-r--r-- | cad/geda-gattrib/pkg-plist | 20 |
2 files changed, 20 insertions, 10 deletions
diff --git a/cad/geda-gattrib/Makefile b/cad/geda-gattrib/Makefile index 9fd1bc0782b0..47c9c85c411f 100644 --- a/cad/geda-gattrib/Makefile +++ b/cad/geda-gattrib/Makefile @@ -7,6 +7,7 @@ PORTNAME= gattrib PORTVERSION= 1.4.3 +PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/release/v1.4/${PORTVERSION}/ \ http://geda.seul.org/release/v1.4/${PORTVERSION}/ @@ -25,11 +26,20 @@ DOCSDIR= ${PREFIX}/share/doc/geda GNU_CONFIGURE= yes USE_GNOME= gtk20 glib20 USE_GMAKE= yes +INSTALLS_ICONS= yes CONFIGURE_ARGS= --with-docdir="${DOCSDIR}" --disable-update-mime-database \ --disable-update-desktop-database CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif + post-patch: @${REINPLACE_CMD} -E \ -e "s,^(DATADIR[[:space:]]*=[[:space:]]*)gEDA,\1geda," \ diff --git a/cad/geda-gattrib/pkg-plist b/cad/geda-gattrib/pkg-plist index 0381a97e2da6..2ed3b3caffdd 100644 --- a/cad/geda-gattrib/pkg-plist +++ b/cad/geda-gattrib/pkg-plist @@ -1,7 +1,7 @@ bin/gattrib -lib/locale/de_DE/LC_MESSAGES/geda-gattrib.mo -lib/locale/es_ES/LC_MESSAGES/geda-gattrib.mo -lib/locale/nl_NL/LC_MESSAGES/geda-gattrib.mo +%%NLS%%lib/locale/de_DE/LC_MESSAGES/geda-gattrib.mo +%%NLS%%lib/locale/es_ES/LC_MESSAGES/geda-gattrib.mo +%%NLS%%lib/locale/nl_NL/LC_MESSAGES/geda-gattrib.mo share/applications/geda-gattrib.desktop %%DATADIR%%/gattrib-menus.xml %%DATADIR%%/system-gattribrc @@ -15,10 +15,10 @@ share/icons/hicolor/scalable/apps/geda-gattrib.svg @dirrmtry share/icons @dirrmtry %%DATADIR%% @dirrmtry share/applications -@dirrmtry lib/locale/nl_NL/LC_MESSAGES -@dirrmtry lib/locale/nl_NL -@dirrmtry lib/locale/es_ES/LC_MESSAGES -@dirrmtry lib/locale/es_ES -@dirrmtry lib/locale/de_DE/LC_MESSAGES -@dirrmtry lib/locale/de_DE -@dirrmtry lib/locale +%%NLS%%@dirrmtry lib/locale/nl_NL/LC_MESSAGES +%%NLS%%@dirrmtry lib/locale/nl_NL +%%NLS%%@dirrmtry lib/locale/es_ES/LC_MESSAGES +%%NLS%%@dirrmtry lib/locale/es_ES +%%NLS%%@dirrmtry lib/locale/de_DE/LC_MESSAGES +%%NLS%%@dirrmtry lib/locale/de_DE +%%NLS%%@dirrmtry lib/locale |