summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-04-21 03:18:12 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-04-21 03:18:12 +0000
commit7d5fcba2fee8eeccc07560cb9a70e56773e24109 (patch)
tree3a95b0569679564cdb39eec7845a631e943f104c /ftp
parentAdd overlooked files to the packing list. (diff)
- Fix pkgconfig install path
- Fix pkg-plist - Bump portrevision Reported by: pointyhat via pav
Notes
Notes: svn path=/head/; revision=211693
Diffstat (limited to 'ftp')
-rw-r--r--ftp/proftpd-devel/Makefile6
-rw-r--r--ftp/proftpd-devel/pkg-plist3
2 files changed, 9 insertions, 0 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile
index 13fe10250b1c..8facc6afc295 100644
--- a/ftp/proftpd-devel/Makefile
+++ b/ftp/proftpd-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= proftpd
DISTVERSION= 1.3.2rc1
+PORTREVISION= 1
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
@@ -349,6 +350,9 @@ post-configure:
${WRKSRC}/src/proftpd.8 ${WRKSRC}/utils/ftpshut.8 \
${WRKSRC}/utils/ftpcount.1
+pre-install:
+ @cd ${LOCALBASE}/lib && ${INSTALL} -d pkgconfig
+
post-install:
@cd ${PREFIX}/etc/ && ${CP} -n proftpd.conf.sample proftpd.conf
.if !defined(NOPORTDOCS)
@@ -366,5 +370,7 @@ post-install:
@${INSTALL_PROGRAM} ${WRKSRC}/ftpdctl ${PREFIX}/sbin/
@${INSTALL_MAN} ${WRKSRC}/src/ftpdctl.8 ${MAN8PREFIX}/man/man8/
.endif
+ @cd ${LOCALBASE}/lib/pkgconfig && ${MV} proftpd.pc ${LOCALBASE}/libdata/pkgconfig
+ @${RM} -r ${LOCALBASE}/lib/pkgconfig
.include <bsd.port.post.mk>
diff --git a/ftp/proftpd-devel/pkg-plist b/ftp/proftpd-devel/pkg-plist
index 9b0dea2eb389..f63fd23793be 100644
--- a/ftp/proftpd-devel/pkg-plist
+++ b/ftp/proftpd-devel/pkg-plist
@@ -2,6 +2,8 @@ bin/ftpcount
bin/ftpdctl
bin/ftptop
bin/ftpwho
+libdata/pkgconfig/proftpd.pc
+lib/proftpd/libsupp.a
include/proftpd/auth.h
include/proftpd/bindings.h
include/proftpd/buildstamp.h
@@ -58,4 +60,5 @@ sbin/proftpd
@unexec if cmp -s %D/etc/proftpd.conf %D/etc/proftpd.conf.sample; then rm -f %D/etc/proftpd.conf; fi
etc/proftpd.conf.sample
@exec cp -n %D/%F %B/proftpd.conf
+@dirrm lib/proftpd
@dirrm include/proftpd