summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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