aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/spegla
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2002-03-31 05:49:48 +0800
committerjkh <jkh@FreeBSD.org>2002-03-31 05:49:48 +0800
commit862f992b8d0e47dfe235c34e019a0e7c12c22dd9 (patch)
tree150267f2a5b483028837e2cef1b3432ae9aa5d8a /ftp/spegla
parentb2b4f81403dab98f142d73235f91c1d5784b6a68 (diff)
downloadfreebsd-ports-gnome-862f992b8d0e47dfe235c34e019a0e7c12c22dd9.tar.gz
freebsd-ports-gnome-862f992b8d0e47dfe235c34e019a0e7c12c22dd9.tar.zst
freebsd-ports-gnome-862f992b8d0e47dfe235c34e019a0e7c12c22dd9.zip
Fix this port to properly create /usr/local/share/examples/spegla *before*
trying to use it. Also update PLIST to match current reality.
Diffstat (limited to 'ftp/spegla')
-rw-r--r--ftp/spegla/Makefile4
-rw-r--r--ftp/spegla/pkg-plist2
2 files changed, 5 insertions, 1 deletions
diff --git a/ftp/spegla/Makefile b/ftp/spegla/Makefile
index 059edc911cc2..5be9c3b046b9 100644
--- a/ftp/spegla/Makefile
+++ b/ftp/spegla/Makefile
@@ -23,8 +23,10 @@ post-extract:
@${CP} ${WRKSRC}/regex/${file} ${WRKSRC}
.endfor
-post-install:
+pre-install:
@${MKDIR} ${PREFIX}/share/examples/spegla
+
+post-install:
${INSTALL_DATA} ${WRKSRC}/freebsd.org ${PREFIX}/share/examples/spegla
.include <bsd.port.mk>
diff --git a/ftp/spegla/pkg-plist b/ftp/spegla/pkg-plist
index 16f1690995e6..8416f8d4dab0 100644
--- a/ftp/spegla/pkg-plist
+++ b/ftp/spegla/pkg-plist
@@ -1,3 +1,5 @@
bin/spegla
share/examples/spegla/freebsd.org
+share/examples/spegla/spegla.conf
+share/examples/spegla/spegla.sh
@dirrm share/examples/spegla