summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>2002-03-30 21:49:48 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>2002-03-30 21:49:48 +0000
commit7c9cf054190b50eba8016d2a9c7c2a5d184a5cab (patch)
tree5d036d3888f6a15daf741ef4cdc9f330c18cdaae /ftp
parentUpdate to 20020203 and give maintainership back to ports@ (diff)
Fix this port to properly create /usr/local/share/examples/spegla *before*
trying to use it. Also update PLIST to match current reality.
Notes
Notes: svn path=/head/; revision=56991
Diffstat (limited to 'ftp')
-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