2011-04-22 15:41:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2011/04/22 13:44:29 obache Exp $
|
2006-02-25 14:31:28 +01:00
|
|
|
|
|
|
|
DISTNAME= wmget-0.6.0-src
|
|
|
|
PKGNAME= ${DISTNAME:S/-src//}
|
|
|
|
WRKSRC= ${WRKDIR}/wmget
|
2011-04-22 15:41:54 +02:00
|
|
|
PKGREVISION= 4
|
2006-02-25 14:31:28 +01:00
|
|
|
CATEGORIES= net
|
2007-02-22 20:26:05 +01:00
|
|
|
MASTER_SITES= http://amtrickey.net/download/
|
2006-02-25 14:31:28 +01:00
|
|
|
|
2007-07-08 14:35:10 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-02-26 19:44:54 +01:00
|
|
|
HOMEPAGE= http://amtrickey.net/wmget/index.html
|
2006-02-25 14:31:28 +01:00
|
|
|
COMMENT= Background download manager in a Window Maker dock app
|
|
|
|
|
2010-02-11 23:57:40 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-02-25 14:31:28 +01:00
|
|
|
SUBST_CLASSES+= ldflags
|
|
|
|
SUBST_MESSAGE.ldflags= Fixing hardcoded LDFLAGS.
|
|
|
|
SUBST_STAGE.ldflags= pre-configure
|
|
|
|
SUBST_FILES.ldflags= Makefile
|
|
|
|
SUBST_SED.ldflags= -e 's|^LDFLAGS=|&${LDFLAGS}|'
|
|
|
|
|
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_MESSAGE.paths= Fixing hardcoded paths.
|
|
|
|
SUBST_STAGE.paths= pre-configure
|
|
|
|
SUBST_FILES.paths= Makefile
|
|
|
|
SUBST_SED.paths= -e 's|^PREFIX=.*|PREFIX=${LOCALBASE}|'
|
|
|
|
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
|
2010-02-11 23:57:40 +01:00
|
|
|
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wmget ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/wmget.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
|
2006-02-25 14:31:28 +01:00
|
|
|
.include "../../www/curl/buildlink3.mk"
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/xextproto/buildlink3.mk"
|
2006-02-25 14:31:28 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|