mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 12:10:31 -04:00
o) Fix some install problems due to X11 non-X11 version
o) Install faces.1.gz not faces.man o) Avoid package building due to various sound options, X11/non-X11 build o) Give maintainership to ports o) Bump PORTREVISION
This commit is contained in:
parent
ad3b9061cf
commit
18fb6d66e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73742
4 changed files with 43 additions and 22 deletions
|
@ -8,18 +8,20 @@
|
||||||
|
|
||||||
PORTNAME= faces
|
PORTNAME= faces
|
||||||
PORTVERSION= 1.7.7
|
PORTVERSION= 1.7.7
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= ftp://ftp.cs.indiana.edu/pub/faces/faces/
|
MASTER_SITES= ftp://ftp.cs.indiana.edu/pub/faces/faces/
|
||||||
|
|
||||||
MAINTAINER= Lars.Koeller@Uni-Bielefeld.DE
|
MAINTAINER= ports@freebsd.org
|
||||||
|
|
||||||
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
|
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
|
||||||
|
|
||||||
|
NO_PACKAGE= "Too many configuration options available to set usefull defaults"
|
||||||
|
|
||||||
HAS_CONFIGURE= yes
|
HAS_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --prefix=${PREFIX} --enable-imap --enable-pop \
|
CONFIGURE_ARGS= --prefix=${LOCALBASE} --enable-imap --enable-pop \
|
||||||
--enable-name-unknown --with-spooldir=/var/mail \
|
--enable-name-unknown --with-spooldir=/var/mail \
|
||||||
--with-facedir=${PREFIX}/share/faces
|
--with-facedir=${LOCALBASE}/share/faces
|
||||||
|
|
||||||
.if defined(WITHOUT_X11)
|
.if defined(WITHOUT_X11)
|
||||||
CONFIGURE_ARGS+=--without-x
|
CONFIGURE_ARGS+=--without-x
|
||||||
|
@ -79,8 +81,9 @@ pre-everything:
|
||||||
post-configure:
|
post-configure:
|
||||||
${CP} ${FILESDIR}/Makefile.compface ${WRKSRC}/compface/Makefile
|
${CP} ${FILESDIR}/Makefile.compface ${WRKSRC}/compface/Makefile
|
||||||
${CP} -pf ${WRKSRC}/faces/faces.man ${WRKSRC}/faces/faces.man.orig
|
${CP} -pf ${WRKSRC}/faces/faces.man ${WRKSRC}/faces/faces.man.orig
|
||||||
${SED} -e "s%/usr/local/faces%${PREFIX}/share/faces%" \
|
${SED} -e "s%/usr/local/faces%${LOCALBASE}/share/faces%" \
|
||||||
-e "s%/var/spool/mail%/var/mail%" < ${WRKSRC}/faces/faces.man.orig > ${WRKSRC}/faces/faces.man
|
-e "s%/var/spool/mail%/var/mail%" < ${WRKSRC}/faces/faces.man.orig > ${WRKSRC}/faces/faces.man
|
||||||
|
${LN} ${WRKSRC}/faces/faces.man ${WRKSRC}/faces/faces.1
|
||||||
${CP} -pf ${WRKSRC}/faces/Faces.ad ${WRKSRC}/faces/Faces.ad.orig
|
${CP} -pf ${WRKSRC}/faces/Faces.ad ${WRKSRC}/faces/Faces.ad.orig
|
||||||
.if !defined(WITHOUT_AUDIO)
|
.if !defined(WITHOUT_AUDIO)
|
||||||
.if defined(USE_NAS)
|
.if defined(USE_NAS)
|
||||||
|
@ -96,17 +99,17 @@ post-configure:
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(WITHOUT_X11)
|
.if !defined(WITHOUT_X11)
|
||||||
${CP} -f ${WRKSRC}/faces/Faces.ad ${PREFIX}/lib/X11/app-defaults/Faces
|
${CP} -f ${WRKSRC}/faces/Faces.ad ${X11BASE}/lib/X11/app-defaults/Faces
|
||||||
.endif
|
.endif
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
if [ ! -e ${PREFIX}/share/doc/${PORTNAME} ]; then \
|
if [ ! -e ${LOCALBASE}/share/doc/${PORTNAME} ]; then \
|
||||||
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}; \
|
${MKDIR} ${LOCALBASE}/share/doc/${PORTNAME}; \
|
||||||
${CP} -f ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}; \
|
${CP} -f ${WRKSRC}/README ${LOCALBASE}/share/doc/${PORTNAME}; \
|
||||||
fi
|
fi
|
||||||
.endif
|
.endif
|
||||||
${INSTALL_SCRIPT} ${FILESDIR}/ikon2xbm ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${FILESDIR}/ikon2xbm ${LOCALBASE}/bin
|
||||||
${INSTALL_SCRIPT} ${FILESDIR}/xbm2ikon ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${FILESDIR}/xbm2ikon ${LOCALBASE}/bin
|
||||||
${INSTALL_SCRIPT} ${FILESDIR}/xbmcut48 ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${FILESDIR}/xbmcut48 ${LOCALBASE}/bin
|
||||||
${INSTALL_SCRIPT} ${FILESDIR}/xbmsize48 ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${FILESDIR}/xbmsize48 ${LOCALBASE}/bin
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -22,10 +22,10 @@
|
||||||
# BINDIR, LIBDIR, INCDIR and MANDIR are expected to be overridden by the
|
# BINDIR, LIBDIR, INCDIR and MANDIR are expected to be overridden by the
|
||||||
# calling Makefile
|
# calling Makefile
|
||||||
|
|
||||||
BINDIR = /usr/local/bin
|
BINDIR = ${PREFIX}/bin
|
||||||
LIBDIR = /usr/local/lib
|
LIBDIR = ${PREFIX}/lib
|
||||||
INCDIR = /usr/local/include
|
INCDIR = ${PREFIX}/include
|
||||||
MANDIR = /usr/local/man
|
MANDIR = ${PREFIX}/man
|
||||||
|
|
||||||
NAME = compface
|
NAME = compface
|
||||||
UNNAME = uncompface
|
UNNAME = uncompface
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
*** faces/Makefile.in.orig Tue Mar 5 21:07:46 2002
|
*** faces/Makefile.in.orig Tue Apr 9 03:52:16 2002
|
||||||
--- faces/Makefile.in Tue Mar 5 21:08:06 2002
|
--- faces/Makefile.in Tue Jan 21 20:03:50 2003
|
||||||
***************
|
***************
|
||||||
*** 116,122 ****
|
*** 116,122 ****
|
||||||
|
|
||||||
|
@ -17,3 +17,20 @@
|
||||||
faces_LDADD = @GTK_LIBS@ $(INTLLIBS) @X_LIBS@ \
|
faces_LDADD = @GTK_LIBS@ $(INTLLIBS) @X_LIBS@ \
|
||||||
-lX11 -L../compface -lcompface $(resolv)
|
-lX11 -L../compface -lcompface $(resolv)
|
||||||
|
|
||||||
|
***************
|
||||||
|
*** 152,158 ****
|
||||||
|
dialog_warning.xpm
|
||||||
|
|
||||||
|
|
||||||
|
! man1_MANS = faces.man
|
||||||
|
EXTRA_DIST = $(man1_MANS) Faces.ad faces.sendmail
|
||||||
|
subdir = faces
|
||||||
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
|
--- 152,158 ----
|
||||||
|
dialog_warning.xpm
|
||||||
|
|
||||||
|
|
||||||
|
! man1_MANS = faces.1
|
||||||
|
EXTRA_DIST = $(man1_MANS) Faces.ad faces.sendmail
|
||||||
|
subdir = faces
|
||||||
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
bin/faces
|
bin/faces
|
||||||
lib/X11/app-defaults/Faces
|
|
||||||
bin/compface
|
bin/compface
|
||||||
bin/uncompface
|
bin/uncompface
|
||||||
bin/ikon2xbm
|
bin/ikon2xbm
|
||||||
|
@ -10,6 +9,8 @@ include/compface.h
|
||||||
lib/libcompface.a
|
lib/libcompface.a
|
||||||
lib/libcompface.so
|
lib/libcompface.so
|
||||||
lib/libcompface.so.1.0
|
lib/libcompface.so.1.0
|
||||||
|
%%APPDEF%%@cwd %%X11BASE%%
|
||||||
%%APPDEF%%lib/X11/app-defaults/Faces
|
%%APPDEF%%lib/X11/app-defaults/Faces
|
||||||
|
%%APPDEF%%@cwd %%LOCALBASE%%
|
||||||
share/doc/faces/README
|
share/doc/faces/README
|
||||||
@dirrm share/doc/faces
|
@dirrm share/doc/faces
|
||||||
|
|
Loading…
Add table
Reference in a new issue