2c72a9f0b9
libXext/buildlink3.mk, now that it is included there. Leave the places where its API version is set or variables from it are used directly (about 3 packages).
24 lines
734 B
Makefile
24 lines
734 B
Makefile
# $NetBSD: Makefile,v 1.13 2012/10/23 10:24:12 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= xtu-1.3
|
|
CATEGORIES= time
|
|
MASTER_SITES= http://coto.marsrakete.de/projects/xtu/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://coto.marsrakete.de/projects/xtu/
|
|
COMMENT= Small configurable X11 analog clock
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} -DUSE_XPM *.c -o xtu -I${X11BASE}/include ${X11_LDFLAGS} -lXpm -lX11 -lXext
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xtu ${DESTDIR}${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/xtu.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|