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/oregano/Makefile | |
parent | b1dc91d5e2a5c145f0f84080f7e71c06670db1f3 (diff) | |
download | ports-49153201c44ef05b83b6dafe1539c7637c8161d4.tar.gz ports-49153201c44ef05b83b6dafe1539c7637c8161d4.zip |
Notes
Diffstat (limited to 'cad/oregano/Makefile')
-rw-r--r-- | cad/oregano/Makefile | 12 |
1 files changed, 10 insertions, 2 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 |