summaryrefslogtreecommitdiffstats
path: root/ftp/spegla
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2002-03-30 21:49:48 +0000
committerjkh <jkh@FreeBSD.org>2002-03-30 21:49:48 +0000
commit862f992b8d0e47dfe235c34e019a0e7c12c22dd9 (patch)
tree150267f2a5b483028837e2cef1b3432ae9aa5d8a /ftp/spegla
parentb2b4f81403dab98f142d73235f91c1d5784b6a68 (diff)
downloadFreeBSD-ports-862f992b8d0e47dfe235c34e019a0e7c12c22dd9.zip
FreeBSD-ports-862f992b8d0e47dfe235c34e019a0e7c12c22dd9.tar.gz
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 059edc9..5be9c3b 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 16f1690..8416f8d 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
OpenPOWER on IntegriCloud