diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-07-05 10:23:34 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-07-05 10:23:34 +0000 |
commit | 3534261def63331c0ba2069d8adca0cff6307d9a (patch) | |
tree | 07086e828c5a02ead7f0b08d157541690b27fada /devel/gpsim/Makefile | |
parent | 3cf4b2bfd30c87e5bb6f7225bf13ffa7902925e6 (diff) | |
download | ports-3534261def63331c0ba2069d8adca0cff6307d9a.tar.gz ports-3534261def63331c0ba2069d8adca0cff6307d9a.zip |
- Switch to USES=localbase
- Switch to options helpers
Notes
Notes:
svn path=/head/; revision=445063
Diffstat (limited to 'devel/gpsim/Makefile')
-rw-r--r-- | devel/gpsim/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/devel/gpsim/Makefile b/devel/gpsim/Makefile index f0ceff26e4c0..17617a35cef0 100644 --- a/devel/gpsim/Makefile +++ b/devel/gpsim/Makefile @@ -17,15 +17,12 @@ BUILD_DEPENDS= gpasm:devel/gputils LIB_DEPENDS= libpopt.so:devel/popt RUN_DEPENDS= gpasm:devel/gputils -USES= gmake libtool pathfix pkgconfig readline +USES= gmake libtool localbase:ldflags pathfix pkgconfig readline USE_GNOME= glib20 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - OPTIONS_DEFINE= DOCS EXAMPLES GTK2 OPTIONS_DEFAULT= GTK2 OPTIONS_SUB= yes @@ -41,12 +38,14 @@ post-patch: 's|-lstdc++||' ${WRKSRC}/${i} .endfor -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in AUTHORS ChangeLog PROCESSORS README* doc/gpsim.pdf (cd ${WRKSRC} && ${INSTALL_DATA} ${i} \ ${STAGEDIR}${DOCSDIR}) .endfor + +post-install-EXAMPLES-on: .for i in led_test logic_test mod_test usart_gui usart_test @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/modules/${i} (cd ${WRKSRC}/examples/modules/${i} && ${INSTALL_DATA} *.asm *.stc \ |