39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
# New ports collection makefile for: xmdiary
|
|
# Version required: 3.0.1
|
|
# Date created: 29 Sep 1997
|
|
# Whom: mi@aldan.ziplink.net
|
|
#
|
|
# $Id: Makefile,v 1.2 1998/08/07 22:17:54 asami Exp $
|
|
#
|
|
|
|
DISTNAME= xmdiary-3.0.1
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
|
MASTER_SITE_SUBDIR= office
|
|
DISTFILES= ${DISTNAME}.tar.gz xmdfix.gz
|
|
|
|
MAINTAINER= mi@aldan.ziplink.net
|
|
|
|
NO_CDROM= "Don't sell for profit"
|
|
EXTRACT_ONLY= ${DISTNAME}.tar.gz
|
|
REQUIRES_MOTIF= yes
|
|
USE_IMAKE= yes
|
|
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
|
|
|
|
pre-patch:
|
|
for node in `tar tzf ${DISTDIR}/xmdfix.gz` ; \
|
|
do \
|
|
test -f $(WRKSRC)/$$node && ${RM} -f $(WRKSRC)/$$node ; \
|
|
done
|
|
cd $(WRKSRC) && tar xzpf ${DISTDIR}/xmdfix.gz
|
|
|
|
post-patch:
|
|
@echo removing the "malloc.h" includes
|
|
${SCRIPTDIR}/nomalloc $(WRKSRC) 2>&1 > /dev/zero
|
|
@echo removing unneccessary DependTarget from Imakefile-s
|
|
${SCRIPTDIR}/noextradepend $(WRKSRC) 2>&1 > /dev/zero
|
|
|
|
.include <bsd.port.mk>
|