2010-07-30 02:58:57 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2010/07/30 06:58:57 ajacoutot Exp $
|
2005-06-07 05:25:37 -04:00
|
|
|
|
2010-03-21 07:35:26 -04:00
|
|
|
ONLY_FOR_ARCHS= ${APM_ARCHS}
|
2001-05-06 00:41:05 -04:00
|
|
|
|
2007-07-19 09:06:40 -04:00
|
|
|
COMMENT= Advanced Power Management monitor utility for X
|
2000-12-13 11:16:35 -05:00
|
|
|
|
2004-09-27 21:24:41 -04:00
|
|
|
DISTNAME= asapm-2.13
|
2010-07-30 02:58:57 -04:00
|
|
|
REVISION= 0
|
2000-12-13 11:16:35 -05:00
|
|
|
HOMEPAGE= http://www.tigr.net/afterstep/
|
|
|
|
|
|
|
|
CATEGORIES= x11
|
|
|
|
|
2006-03-28 10:49:25 -05:00
|
|
|
MASTER_SITES= http://www.tigr.net/afterstep/download/asapm/
|
2000-12-13 11:16:35 -05:00
|
|
|
|
2008-08-21 03:30:16 -04:00
|
|
|
# GPLv2
|
2000-12-13 11:16:35 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-08-21 03:30:16 -04:00
|
|
|
|
2004-12-17 10:18:31 -05:00
|
|
|
WANTLIB= ICE SM X11 Xext Xpm c
|
2000-12-13 11:16:35 -05:00
|
|
|
|
2006-08-03 20:10:42 -04:00
|
|
|
LIB_DEPENDS= jpeg.>=62::graphics/jpeg
|
2000-12-13 11:16:35 -05:00
|
|
|
|
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
|
2005-06-07 05:25:37 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/asapm
|
2002-02-09 22:14:32 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/asapmrc ${PREFIX}/share/examples/asapm/
|
2000-12-13 11:16:35 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|