- Unbreak (make fetchable again)

- Respect NLS
- Adopt maintainship

Approved by:	miwi (mentor)
This commit is contained in:
Pietro Cerutti 2008-03-06 23:42:57 +00:00
parent b1dc91d5e2
commit 49153201c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208544
2 changed files with 21 additions and 13 deletions

View File

@ -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

View File

@ -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