diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/qtk/Makefile | 23 | ||||
-rw-r--r-- | devel/qtk/distinfo | 2 |
2 files changed, 15 insertions, 10 deletions
diff --git a/devel/qtk/Makefile b/devel/qtk/Makefile index f167b452e306..c2c67a7ad866 100644 --- a/devel/qtk/Makefile +++ b/devel/qtk/Makefile @@ -8,26 +8,31 @@ PORTNAME= qtk PORTVERSION= 0.50 CATEGORIES= devel tk82 -MASTER_SITES= http://www.psn.net/~andrews/dist/ +MASTER_SITES= http://www.jump.net/~brooke/qtk/ DISTNAME= ${PORTNAME} +EXTRACT_SUFX= # empty MAINTAINER= ports@FreeBSD.org RUN_DEPENDS= ${LOCALBASE}/bin/wish8.2:${PORTSDIR}/x11-toolkits/tk82 -NO_BUILD= YES +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= # empty +EXTRACT_AFTER_ARGS= . -USE_X_PREFIX= YES +NO_WRKSUBDIR= yes +NO_BUILD= yes + +USE_X_PREFIX= yes WISH= ${LOCALBASE}/bin/wish8.2 -post-patch: - @${SED} 's:/usr/bin/wish:${WISH}:' \ - ${WRKSRC}/qtk > ${WRKSRC}/qtk.new - @${SED} 's:keepnewline wish:keepnewline ${WISH}:' \ - ${WRKSRC}/qtk.new > ${WRKSRC}/qtk.new2 +do-configure: + @${PERL} -pi.dist \ + -e 's|/usr/bin/wish|${WISH}|;' \ + -e 's|keepnewline wish|keepnewline ${WISH}|' ${WRKSRC}/qtk do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/qtk.new2 ${X11BASE}/bin/qtk + ${INSTALL_SCRIPT} ${WRKSRC}/qtk ${PREFIX}/bin .include <bsd.port.mk> diff --git a/devel/qtk/distinfo b/devel/qtk/distinfo index 8e511df563cb..f73fb0892afb 100644 --- a/devel/qtk/distinfo +++ b/devel/qtk/distinfo @@ -1 +1 @@ -MD5 (qtk.tar.gz) = 14dbb6e5af3ac096b1bb8465d1111cfd +MD5 (qtk) = 70035459034168a625463bdce3fa45cc |