aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gkleds2
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-11-14 01:21:37 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-11-14 01:21:37 +0000
commiteba7d8f6c33245c86f162cb39c4c2a77c960dd3a (patch)
treed2bb5cf78ac85dfc52c8a038a0ea33df6df8fff6 /sysutils/gkleds2
parent89a9b7d86ae2d266f563f25478a41da117f51309 (diff)
downloadports-eba7d8f6c33245c86f162cb39c4c2a77c960dd3a.tar.gz
ports-eba7d8f6c33245c86f162cb39c4c2a77c960dd3a.zip
Support STAGEDIR.
Notes
Notes: svn path=/head/; revision=333734
Diffstat (limited to 'sysutils/gkleds2')
-rw-r--r--sysutils/gkleds2/Makefile6
-rw-r--r--sysutils/gkleds2/pkg-plist3
2 files changed, 5 insertions, 4 deletions
diff --git a/sysutils/gkleds2/Makefile b/sysutils/gkleds2/Makefile
index 2343d1facc2c..77e91ddde3dd 100644
--- a/sysutils/gkleds2/Makefile
+++ b/sysutils/gkleds2/Makefile
@@ -22,15 +22,13 @@ USE_AUTOTOOLS= libtool
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-PLIST_FILES= libexec/gkrellm2/plugins/gkleds.so
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g ; \
s|GK_LDFLAGS|GKM_LDFLAGS|g' ${WRKSRC}/src/Makefile.in
do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
${INSTALL_DATA} ${WRKSRC}/src/.libs/gkleds.so \
- ${PREFIX}/libexec/gkrellm2/plugins
+ ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
.include <bsd.port.mk>
diff --git a/sysutils/gkleds2/pkg-plist b/sysutils/gkleds2/pkg-plist
new file mode 100644
index 000000000000..601e0c6cc284
--- /dev/null
+++ b/sysutils/gkleds2/pkg-plist
@@ -0,0 +1,3 @@
+libexec/gkrellm2/plugins/gkleds.so
+@dirrmtry libexec/gkrellm2/plugins
+@dirrmtry libexec/gkrellm2