svn commit: r409665 - head/sysutils/lineakd
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Feb 27 13:25:15 UTC 2016
Author: amdmi3
Date: Sat Feb 27 13:25:13 2016
New Revision: 409665
URL: https://svnweb.freebsd.org/changeset/ports/409665
Log:
- Switch to USES=localbase
- Switch to options helpers
Modified:
head/sysutils/lineakd/Makefile
head/sysutils/lineakd/pkg-plist
Modified: head/sysutils/lineakd/Makefile
==============================================================================
--- head/sysutils/lineakd/Makefile Sat Feb 27 13:25:04 2016 (r409664)
+++ head/sysutils/lineakd/Makefile Sat Feb 27 13:25:13 2016 (r409665)
@@ -11,16 +11,15 @@ DIST_SUBDIR= lineak
MAINTAINER= ports at FreeBSD.org
COMMENT= Lineakd is a daemon which enables special keys on internet keyboards
-USES= gmake libtool
+USES= gmake libtool localbase
USE_LDCONFIG= yes
USE_XORG= x11 xext xt
GNU_CONFIGURE= yes
CONFIGURE_ARGS= kde_cv_prog_cxx_fno_check_new=no
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
-DOCS= README TODO AUTHORS
+PORTDOCS= README TODO AUTHORS
+PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
@@ -29,11 +28,13 @@ post-patch:
${WRKSRC}/lineak/Makefile.in ${WRKSRC}/lineakd/Makefile.in
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for i in ${DOCS}
+.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/lineakd.conf.example ${STAGEDIR}${EXAMPLESDIR}
Modified: head/sysutils/lineakd/pkg-plist
==============================================================================
--- head/sysutils/lineakd/pkg-plist Sat Feb 27 13:25:04 2016 (r409664)
+++ head/sysutils/lineakd/pkg-plist Sat Feb 27 13:25:13 2016 (r409665)
@@ -29,8 +29,4 @@ lib/liblineak.so
lib/liblineak.so.0
lib/liblineak.so.0.8.0
man/man1/lineakd.1.gz
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lineakd.conf.example
@dir lib/lineakd/plugins
More information about the svn-ports-all
mailing list