diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2008-03-06 23:42:57 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2008-03-06 23:42:57 +0000 |
commit | 49153201c44ef05b83b6dafe1539c7637c8161d4 (patch) | |
tree | 4ac282a3ed6a48c6fe24b54f6b40b0060c6e587e /cad | |
parent | b1dc91d5e2a5c145f0f84080f7e71c06670db1f3 (diff) | |
download | ports-49153201c44ef05b83b6dafe1539c7637c8161d4.tar.gz ports-49153201c44ef05b83b6dafe1539c7637c8161d4.zip |
- Unbreak (make fetchable again)
- Respect NLS
- Adopt maintainship
Approved by: miwi (mentor)
Notes
Notes:
svn path=/head/; revision=208544
Diffstat (limited to 'cad')
-rw-r--r-- | cad/oregano/Makefile | 12 | ||||
-rw-r--r-- | cad/oregano/pkg-plist | 22 |
2 files changed, 21 insertions, 13 deletions
diff --git a/cad/oregano/Makefile b/cad/oregano/Makefile index cc04b6108eb4..4c4b58106c63 100644 --- a/cad/oregano/Makefile +++ b/cad/oregano/Makefile @@ -11,7 +11,7 @@ PORTVERSION= 0.69.0 CATEGORIES= cad gnome MASTER_SITES= http://gforge.lug.fi.uba.ar/frs/download.php/86/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gahr@FreeBSD.org COMMENT= Schematic capture and simulation of electrical circuits USE_GNOME= gnomehack gnomeprefix gtksourceview intlhack libglade2 \ @@ -22,10 +22,18 @@ INSTALLS_OMF= yes .include <bsd.port.pre.mk> -BROKEN= does not fetch +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +PLIST_SUB+= NLS="@comment " +.endif post-patch: @${REINPLACE_CMD} -e "s|-Wall|${CFLAGS}|g" ${WRKSRC}/SConstruct +.if defined(WITHOUT_NLS) + @${REINPLACE_CMD} -e "/^SConscript ('po\/SConscript')/d" ${WRKSRC}/SConstruct +.endif post-install: @${STRIP_CMD} ${PREFIX}/bin/oregano diff --git a/cad/oregano/pkg-plist b/cad/oregano/pkg-plist index be3a4e741bfa..d8180a286cbf 100644 --- a/cad/oregano/pkg-plist +++ b/cad/oregano/pkg-plist @@ -53,17 +53,17 @@ share/omf/oregano/oregano-fr.omf %%DATADIR%%/models/PNP.model %%DATADIR%%/models/TLC555.model %%DATADIR%%/models/UA741.model -share/locale/ca/LC_MESSAGES/oregano.mo -share/locale/de/LC_MESSAGES/oregano.mo -share/locale/es/LC_MESSAGES/oregano.mo -share/locale/fr/LC_MESSAGES/oregano.mo -share/locale/it/LC_MESSAGES/oregano.mo -share/locale/ja/LC_MESSAGES/oregano.mo -share/locale/pl/LC_MESSAGES/oregano.mo -share/locale/pt_BR/LC_MESSAGES/oregano.mo -share/locale/ro/LC_MESSAGES/oregano.mo -share/locale/ru/LC_MESSAGES/oregano.mo -share/locale/sv/LC_MESSAGES/oregano.mo +%%NLS%%share/locale/ca/LC_MESSAGES/oregano.mo +%%NLS%%share/locale/de/LC_MESSAGES/oregano.mo +%%NLS%%share/locale/es/LC_MESSAGES/oregano.mo +%%NLS%%share/locale/fr/LC_MESSAGES/oregano.mo +%%NLS%%share/locale/it/LC_MESSAGES/oregano.mo +%%NLS%%share/locale/ja/LC_MESSAGES/oregano.mo +%%NLS%%share/locale/pl/LC_MESSAGES/oregano.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/oregano.mo +%%NLS%%share/locale/ro/LC_MESSAGES/oregano.mo +%%NLS%%share/locale/ru/LC_MESSAGES/oregano.mo +%%NLS%%share/locale/sv/LC_MESSAGES/oregano.mo share/mime/packages/oregano.xml share/pixmaps/gnome-oregano.svg @dirrm %%DATADIR%%/models |