1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/deskutils/xmdiary/Makefile
Dmitry Marakasov 33e3d901d4 Convert most of remaining ports that depend on xorg-libraries to
modular xorg.

- supply corresponding USE_XORG for all imake-using ports that need it
- USE_IMAKE no longer implies USE_XLIB in absence of USE_XORG
- retire USE_X_PREFIX which is not really used anywhere after the
  above change
- a few minor nits like whitespace and SF macro

Tested by:	2 tinderbox runs by pav
Approved by:	portmgr (pav)
2009-06-09 15:33:28 +00:00

37 lines
1007 B
Makefile

# New ports collection makefile for: xmdiary
# Date created: 29 Sep 1997
# Whom: mi@aldan.ziplink.net
#
# $FreeBSD$
#
PORTNAME= xmdiary
PORTVERSION= 3.0.3
PORTREVISION= 2
CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= office
DISTFILES= ${DISTNAME}.tar.gz
MAINTAINER= mi@aldan.algebra.com
COMMENT= Personal and group calendar utility
NO_CDROM= "Don't sell for profit"
EXTRACT_ONLY= ${DISTNAME}.tar.gz
USE_MOTIF= yes
USE_IMAKE= yes
USE_XORG= x11 xext xp xpm xt
MAN1= xdaclunix.1 xdalarm.1 xdcustom.1 xddump.1 xdiary.1 xdinitdb.1 \
xdlight.1 xdnotify.1 xdprformat.1 xdremind.1 xdremove.1 \
xdrestore.1
post-patch:
@${ECHO_MSG} removing the "malloc.h" includes
${SCRIPTDIR}/nomalloc $(WRKSRC) 2>&1 > /dev/zero
@${ECHO_MSG} removing unneccessary DependTarget from Imakefile-s
${SCRIPTDIR}/noextradepend $(WRKSRC) 2>&1 > /dev/zero
${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
-e 's|CcCmd gcc|CcCmd ${CC}|' '${WRKSRC}/XDiary.tmpl'
.include <bsd.port.mk>