aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-18 08:25:53 +0800
committermiwi <miwi@FreeBSD.org>2014-02-18 08:25:53 +0800
commit40da2fe24ea8f4c42ca72a159504dd021ca357f8 (patch)
treea9f604bafb3d34faffb96c32801340a62b4a2e4b /mail
parentcf50d9b4b7f7d06a4ac19f0e867213d5959d6a6c (diff)
downloadfreebsd-ports-gnome-40da2fe24ea8f4c42ca72a159504dd021ca357f8.tar.gz
freebsd-ports-gnome-40da2fe24ea8f4c42ca72a159504dd021ca357f8.tar.zst
freebsd-ports-gnome-40da2fe24ea8f4c42ca72a159504dd021ca357f8.zip
- Stage support
Diffstat (limited to 'mail')
-rw-r--r--mail/faces/Makefile42
-rw-r--r--mail/faces/pkg-plist3
2 files changed, 20 insertions, 25 deletions
diff --git a/mail/faces/Makefile b/mail/faces/Makefile
index d08362e515f3..a5bd26820c6e 100644
--- a/mail/faces/Makefile
+++ b/mail/faces/Makefile
@@ -19,13 +19,8 @@ SOX_DESC= Sox audio support
WANT_GNOME= yes
USE_LDCONFIG= yes
-MAN1= compface.1
-MAN3= compface.3
-MLINKS= compface.1 uncompface.1 \
- compface.3 uncompface.3
PORTDOCS= README
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ! ${PORT_OPTIONS:MX11}
@@ -40,7 +35,6 @@ LDFLAGS+= -L../compface -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-imap --enable-pop \
--enable-name-unknown --with-spooldir=/var/mail \
--with-facedir=${DATADIR}
-MAN1+= faces.1
.endif
.if ! ${PORT_OPTIONS:MNLS}
@@ -84,26 +78,24 @@ do-build:
.endif
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/compface/compface ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/compface/uncompface ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/compface/compface.h ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/compface/libcompface.a ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/compface/libcompface.so.1 ${PREFIX}/lib
- ${LN} -sf libcompface.so.1 ${PREFIX}/lib/libcompface.so
- ${INSTALL_MAN} ${WRKSRC}/compface/compface.1 ${MANPREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/compface/compface.3 ${MANPREFIX}/man/man3
- ${INSTALL_SCRIPT} ${FILESDIR}/ikon2xbm ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${FILESDIR}/xbm2ikon ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${FILESDIR}/xbmcut48 ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${FILESDIR}/xbmsize48 ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/compface/compface ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/compface/uncompface ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/compface/compface.h ${STAGEDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/compface/libcompface.a ${STAGEDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/compface/libcompface.so.1 ${STAGEDIR}${PREFIX}/lib
+ ${LN} -sf libcompface.so.1 ${STAGEDIR}${PREFIX}/lib/libcompface.so
+ ${INSTALL_MAN} ${WRKSRC}/compface/compface.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/compface/compface.3 ${STAGEDIR}${MANPREFIX}/man/man3
+ ${INSTALL_SCRIPT} ${FILESDIR}/ikon2xbm ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${FILESDIR}/xbm2ikon ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${FILESDIR}/xbmcut48 ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${FILESDIR}/xbmsize48 ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MX11}
- ${INSTALL_PROGRAM} ${WRKSRC}/faces/faces ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/faces/faces.1 ${MANPREFIX}/man/man1
- ${INSTALL_DATA} ${WRKSRC}/faces/Faces.ad ${LOCALBASE}/lib/X11/app-defaults/Faces
-.endif
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/faces/faces ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/faces/faces.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/faces/Faces.ad ${STAGEDIR}${LOCALBASE}/lib/X11/app-defaults/Faces
.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>
diff --git a/mail/faces/pkg-plist b/mail/faces/pkg-plist
index 77b174b12f44..5e883f2974d2 100644
--- a/mail/faces/pkg-plist
+++ b/mail/faces/pkg-plist
@@ -10,3 +10,6 @@ lib/libcompface.a
lib/libcompface.so
lib/libcompface.so.1
%%X11%%lib/X11/app-defaults/Faces
+man/man1/compface.1.gz
+%%X11%%man/man1/faces.1.gz
+man/man3/compface.3.gz