openbsd-ports/x11/asapm/Makefile

44 lines
1.0 KiB
Makefile
Raw Normal View History

2010-10-24 16:58:58 -04:00
# $OpenBSD: Makefile,v 1.26 2010/10/24 21:15:31 ajacoutot Exp $
ONLY_FOR_ARCHS= ${APM_ARCHS}
COMMENT= Advanced Power Management monitor utility for X
2004-09-27 21:24:41 -04:00
DISTNAME= asapm-2.13
2010-07-30 07:29:44 -04:00
REVISION= 1
HOMEPAGE= http://www.tigr.net/afterstep/
CATEGORIES= x11
MASTER_SITES= http://www.tigr.net/afterstep/download/asapm/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-07-30 07:29:44 -04:00
WANTLIB= ICE SM X11 Xext Xpm c jpeg
2010-07-30 07:29:44 -04:00
LIB_DEPENDS= ::graphics/jpeg
2010-10-19 04:13:56 -04:00
USE_GROFF = Yes
2001-07-09 13:10:49 -04: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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/asapm ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/asapm.man ${PREFIX}/man/man1/asapm.1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/asapm
2002-02-09 22:14:32 -05:00
${INSTALL_DATA} ${WRKSRC}/asapmrc ${PREFIX}/share/examples/asapm/
.include <bsd.port.mk>