openbsd-ports/misc/plan/Makefile
2011-04-10 18:00:23 +00:00

36 lines
805 B
Makefile

# $OpenBSD: Makefile,v 1.25 2011/04/10 18:02:18 jasper Exp $
COMMENT= X11/Motif schedule planner with calendar
DISTNAME= plan-1.10.1
REVISION= 0
CATEGORIES= misc
HOMEPAGE= http://www.bitrot.de/plan.html
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xpm Xt c m Xm
MASTER_SITES= ftp://ftp.fu-berlin.de/unix/graphics/plan/
LIB_DEPENDS+= x11/openmotif
WRKSRC= ${WRKDIST}/src
ALL_TARGET= openbsd
MAKE_FLAGS= PLANBASE=${PREFIX} EXAMPLES=${PREFIX}/share/examples/plan
FAKE_FLAGS= PLANBASE=${WRKINST}${PREFIX} \
EXAMPLES=${WRKINST}${PREFIX}/share/examples/plan
MAKE_ENV+=MOTIFLIB='-L${LOCALBASE}/lib -lXm'
USE_GROFF = Yes
NO_REGRESS= Yes
post-extract:
@rm -f ${WRKSRC}/../misc/plan.1.orig
.include <bsd.port.mk>