mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
46 lines
992 B
Makefile
46 lines
992 B
Makefile
# New ports collection makefile for: xc-mail
|
|
# Date created: 2000-10-01
|
|
# Whom: trevor
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xc-mail
|
|
PORTVERSION= 2.2
|
|
PORTREVISION= 3
|
|
PORTEPOCH= 1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= SF
|
|
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_XORG= x11
|
|
|
|
CONFIGURE_ARGS= --includedir=${LOCALBASE}/include/ \
|
|
--libdir=${LOCALBASE}/lib/
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
LIBS="-L${LOCALBASE}/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>
|