diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-27 21:25:13 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-27 21:25:13 +0800 |
commit | 34e528e1f664c63b552f0832ed513227959cf9cc (patch) | |
tree | f9518e9907336c7962371a41a969938c7fadf6bf /sysutils | |
parent | 6dd7515a08e145aa7841bec9d53408ed829ed93c (diff) | |
download | freebsd-ports-gnome-34e528e1f664c63b552f0832ed513227959cf9cc.tar.gz freebsd-ports-gnome-34e528e1f664c63b552f0832ed513227959cf9cc.tar.zst freebsd-ports-gnome-34e528e1f664c63b552f0832ed513227959cf9cc.zip |
- Switch to USES=localbase
- Switch to options helpers
Diffstat (limited to 'sysutils')
-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 |