diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2014-01-19 14:25:38 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2014-01-19 14:25:38 +0000 |
commit | b5e3bad02aaee2d5cec984c71e8e9da83c7ba8d1 (patch) | |
tree | dbe76d4d928351c9a6c102e535170d5fd14c8997 /x11-toolkits/viewklass/Makefile | |
parent | c24323ef824ae23915c44e9bd5334edc244ddedc (diff) | |
download | ports-b5e3bad02aaee2d5cec984c71e8e9da83c7ba8d1.tar.gz ports-b5e3bad02aaee2d5cec984c71e8e9da83c7ba8d1.zip |
Notes
Diffstat (limited to 'x11-toolkits/viewklass/Makefile')
-rw-r--r-- | x11-toolkits/viewklass/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/x11-toolkits/viewklass/Makefile b/x11-toolkits/viewklass/Makefile index c8d336e683eb..dc6f97051037 100644 --- a/x11-toolkits/viewklass/Makefile +++ b/x11-toolkits/viewklass/Makefile @@ -11,15 +11,16 @@ DISTNAME= ViewKlass-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= C++ Framework for Motif -BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake +LICENSE= LGPL20 # (or later) -USES= motif -GNU_CONFIGURE= yes +USES= imake:env motif +USE_AUTOTOOLS= autoconf213 -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} -e 's/^CFLAGS=/CFLAGS+=/g ; \ - s/^CXXFLAGS=/CXXFLAGS+=/g ; \ - s/-g -Wall//g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e \ + '/^CFLAGS=/s|-g|@CFLAGS@| ; \ + /^CXXFLAGS=/s|-g|@CXXFLAGS@| ; \ + s| $$(exec_prefix)| $$(DESTDIR)$$(exec_prefix)| ; \ + s| $$(prefix)| $$(DESTDIR)$$(prefix)|' ${WRKSRC}/Makefile.in .include <bsd.port.mk> |