aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gkleds2
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2013-11-14 09:21:37 +0800
committervanilla <vanilla@FreeBSD.org>2013-11-14 09:21:37 +0800
commitbceb6ff6f88a3bf72e572f04ce11be41ca9e273f (patch)
treed2bb5cf78ac85dfc52c8a038a0ea33df6df8fff6 /sysutils/gkleds2
parent3eb2378e133797656b5ba6f70901e937a381454f (diff)
downloadfreebsd-ports-gnome-bceb6ff6f88a3bf72e572f04ce11be41ca9e273f.tar.gz
freebsd-ports-gnome-bceb6ff6f88a3bf72e572f04ce11be41ca9e273f.tar.zst
freebsd-ports-gnome-bceb6ff6f88a3bf72e572f04ce11be41ca9e273f.zip
Support STAGEDIR.
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