diff options
author | stas <stas@FreeBSD.org> | 2009-02-21 19:43:23 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2009-02-21 19:43:23 +0800 |
commit | b54defd47141a3cb40a176c8f70e265b8ec93357 (patch) | |
tree | a8c53bf69bf28d09ddbfaa38f5021d23624ea02e /cad/libgeda | |
parent | 3868a3c27c007f4867435814cbee297efc3cb196 (diff) | |
download | freebsd-ports-gnome-b54defd47141a3cb40a176c8f70e265b8ec93357.tar.gz freebsd-ports-gnome-b54defd47141a3cb40a176c8f70e265b8ec93357.tar.zst freebsd-ports-gnome-b54defd47141a3cb40a176c8f70e265b8ec93357.zip |
- Bump PORTEPOCH, this was missed in previous update [1].
- Use proper shebang line in perl and python scripts [1].
- Define INSTALLS_ICONS and USE_GETTEXT where appropriate.
- Implement WITHOUT_NLS knob.
Reported by: Nick Withers <nick@nickwithers.com> [1]
Diffstat (limited to 'cad/libgeda')
-rw-r--r-- | cad/libgeda/Makefile | 9 | ||||
-rw-r--r-- | cad/libgeda/pkg-plist | 16 |
2 files changed, 17 insertions, 8 deletions
diff --git a/cad/libgeda/Makefile b/cad/libgeda/Makefile index ad59ce51d350..4a85ef4e85b4 100644 --- a/cad/libgeda/Makefile +++ b/cad/libgeda/Makefile @@ -8,6 +8,7 @@ PORTNAME= libgeda PORTVERSION= 1.4.3 PORTREVISION= 0 +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}/ @@ -27,6 +28,14 @@ CONFIGURE_ARGS= --disable-update-mime-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/libgeda/pkg-plist b/cad/libgeda/pkg-plist index dabbfa9136d3..d369eae3c50c 100644 --- a/cad/libgeda/pkg-plist +++ b/cad/libgeda/pkg-plist @@ -35,10 +35,10 @@ share/icons/hicolor/48x48/mimetypes/application-x-geda-symbol-48.png share/icons/hicolor/scalable/mimetypes/application-x-geda-gsch2pcb-project.svg share/icons/hicolor/scalable/mimetypes/application-x-geda-schematic.svg share/icons/hicolor/scalable/mimetypes/application-x-geda-symbol.svg -share/locale/de_DE/LC_MESSAGES/libgeda33.mo -share/locale/en_GB/LC_MESSAGES/libgeda33.mo -share/locale/es_ES/LC_MESSAGES/libgeda33.mo -share/locale/nl_NL/LC_MESSAGES/libgeda33.mo +%%NLS%%share/locale/de_DE/LC_MESSAGES/libgeda33.mo +%%NLS%%share/locale/en_GB/LC_MESSAGES/libgeda33.mo +%%NLS%%share/locale/es_ES/LC_MESSAGES/libgeda33.mo +%%NLS%%share/locale/nl_NL/LC_MESSAGES/libgeda33.mo share/mime/packages/libgeda.xml share/mimelnk/application/x-geda-gsch2pcb-project.desktop share/mimelnk/application/x-geda-schematic.desktop @@ -47,10 +47,10 @@ share/mimelnk/application/x-geda-symbol.desktop @dirrmtry share/mimelnk @dirrmtry share/mime/packages @dirrmtry share/mime -@dirrmtry share/locale/nl_NL/LC_MESSAGES -@dirrmtry share/locale/nl_NL -@dirrmtry share/locale/de_DE/LC_MESSAGES -@dirrmtry share/locale/de_DE +%%NLS%%@dirrmtry share/locale/nl_NL/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/nl_NL +%%NLS%%@dirrmtry share/locale/de_DE/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/de_DE @dirrmtry share/icons/hicolor/scalable/mimetypes @dirrmtry share/icons/hicolor/scalable @dirrmtry share/icons/hicolor/48x48/mimetypes |