diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-02-27 21:25:13 +0800 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-02-27 21:25:13 +0800 |
commit | 58a18b9bd2a003f7c0b49760b59d396e2641c14c (patch) | |
tree | f9518e9907336c7962371a41a969938c7fadf6bf /sysutils/lineakd | |
parent | bec369ff8a0a32e46c16e3badaccf4e20d2e6a1c (diff) | |
download | freebsd-ports-gnome-58a18b9bd2a003f7c0b49760b59d396e2641c14c.tar.gz freebsd-ports-gnome-58a18b9bd2a003f7c0b49760b59d396e2641c14c.tar.zst freebsd-ports-gnome-58a18b9bd2a003f7c0b49760b59d396e2641c14c.zip |
- Switch to USES=localbase
- Switch to options helpers
Diffstat (limited to 'sysutils/lineakd')
-rw-r--r-- | sysutils/lineakd/Makefile | 13 | ||||
-rw-r--r-- | sysutils/lineakd/pkg-plist | 4 |
2 files changed, 7 insertions, 10 deletions
diff --git a/sysutils/lineakd/Makefile b/sysutils/lineakd/Makefile index dd4cf087d689..827bee16548d 100644 --- a/sysutils/lineakd/Makefile +++ b/sysutils/lineakd/Makefile @@ -11,16 +11,15 @@ DIST_SUBDIR= lineak MAINTAINER= ports@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} diff --git a/sysutils/lineakd/pkg-plist b/sysutils/lineakd/pkg-plist index 5043cfe33297..291953298892 100644 --- a/sysutils/lineakd/pkg-plist +++ b/sysutils/lineakd/pkg-plist @@ -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 |