d16f7bfb92
PR. Thanks for contributing. Since the acroread7 port is a somewhat important port for our users, I will hand it over to emulation@ if no _active_ *committer* takes it before the ports freeze. While I'm here: - fix a little nit in the csound port (I think the intention was to create no backup file instead of creating one with a "-e" extension) - set ARCH to i386 in the amd64 case for the acroread7 port. This is a work-around to be able to install everything when a dependency is not already installed (ARCH is read-only in sub-makes, so the dependencies can't change it). This should be removed when the dependencies are fixed or converted to use bsd.linux-rpm.mk. [1] Not objected to by: portmgr (explicit: krion; silence: rest) Maintainer timeout: ~4 months Submitted by: Sangwoo Shim <sangwoos@gmail.com> [1] PR: 87985 [1]
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# New ports collection makefile for: xc-mail
|
|
# Date created: 2000-10-01
|
|
# Whom: trevor
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xc-mail
|
|
PORTVERSION= 2.2
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= xcmail
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Mail client for X which supports POP and PGP
|
|
|
|
LIB_DEPENDS= Xclasses.1:${PORTSDIR}/x11-toolkits/xclasses
|
|
|
|
GNU_CONFIGURE= yes
|
|
ONLY_FOR_ARCHS= arm i386
|
|
USE_GMAKE= yes
|
|
USE_X_PREFIX= yes
|
|
USE_REINPLACE= yes
|
|
|
|
CONFIGURE_ARGS= --includedir=${X11BASE}/include/ \
|
|
--libdir=${X11BASE}/lib/ \
|
|
--x-includes=${X11BASE}/include/ \
|
|
--x-libraries=${X11BASE}/lib/
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
|
|
LDFLAGS="-L${X11BASE}/lib" \
|
|
LIBS="-L${X11BASE}/lib"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
.if ${OSVERSION} > 502014
|
|
@${REINPLACE_CMD} -e "s|expr $1|expr -- $1|g" ${WRKSRC}/plugins/linkshared.in
|
|
@${REINPLACE_CMD} -e "s|expr $1|expr -- $1|g" ${WRKSRC}/src/linktool
|
|
.endif
|
|
|
|
post-install:
|
|
chown ${BINOWN}:mail ${PREFIX}/bin/xc-mail
|
|
chmod g+s ${PREFIX}/bin/xc-mail
|
|
|
|
.include <bsd.port.post.mk>
|