2002-02-09 22:14:32 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2002/02/10 03:14:32 jcs Exp $
|
2001-05-06 00:41:05 -04:00
|
|
|
|
2001-09-09 13:56:59 -04:00
|
|
|
COMMENT= "Advanced Power Management monitor utility for X Windows"
|
2000-12-13 11:16:35 -05:00
|
|
|
|
2002-02-09 22:14:32 -05:00
|
|
|
DISTNAME= asapm-2.11
|
2000-12-13 11:16:35 -05:00
|
|
|
HOMEPAGE= http://www.tigr.net/afterstep/
|
|
|
|
|
|
|
|
CATEGORIES= x11
|
2002-02-09 22:14:32 -05:00
|
|
|
NEED_VERSION= 1.503
|
2000-12-13 11:16:35 -05:00
|
|
|
MAINTAINER= Joshua Stein <jcs@rt.fm>
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.tigr.net/afterstep/download/asapm/ \
|
|
|
|
ftp://rt.fm/pub/asapm/
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
LIB_DEPENDS= jpeg.62::graphics/jpeg
|
|
|
|
|
2001-07-09 13:10:49 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
|
2000-12-13 11:16:35 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --with-afterdir=${PREFIX}/bin --enable-jpeg
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
MAKE_FLAGS= LIBS_JPEG="-ljpeg -L${LOCALBASE}/lib"
|
2001-11-02 12:52:58 -05:00
|
|
|
NO_REGRESS= Yes
|
2000-12-13 11:16:35 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/asapm ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/asapm.man ${PREFIX}/man/man1/asapm.1
|
2002-02-09 22:14:32 -05:00
|
|
|
@mkdir -p ${PREFIX}/share/examples/asapm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/asapmrc ${PREFIX}/share/examples/asapm/
|
2000-12-13 11:16:35 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|