diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-01-28 12:03:31 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-01-28 12:03:31 +0800 |
commit | 8a0c13cae48ee8f3b595f23f072bfa519f52daae (patch) | |
tree | ac80aa5c12a8e7462374201a897887e57f22cc55 /devel | |
parent | cd5e4c608405a9fb4ea0cb3215275e042d4b1e72 (diff) | |
download | freebsd-ports-gnome-8a0c13cae48ee8f3b595f23f072bfa519f52daae.tar.gz freebsd-ports-gnome-8a0c13cae48ee8f3b595f23f072bfa519f52daae.tar.zst freebsd-ports-gnome-8a0c13cae48ee8f3b595f23f072bfa519f52daae.zip |
- Fix MASTER_SITES
- Support PREFIX properly
PR: 24670
Submitted by: tkato@prontomail.ne.jp
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 |