diff options
author | philip <philip@FreeBSD.org> | 2006-06-24 00:05:24 +0800 |
---|---|---|
committer | philip <philip@FreeBSD.org> | 2006-06-24 00:05:24 +0800 |
commit | 8d71d37bcf958f189011f7a1ecc5c69daeaed295 (patch) | |
tree | 9a9aea0ccdbdba0686b8d965366f1be790bc35ae /devel/lua50-pty | |
parent | f78ee113cb7163eacf6220eb3f096040982c08ed (diff) | |
download | freebsd-ports-gnome-8d71d37bcf958f189011f7a1ecc5c69daeaed295.tar.gz freebsd-ports-gnome-8d71d37bcf958f189011f7a1ecc5c69daeaed295.tar.zst freebsd-ports-gnome-8d71d37bcf958f189011f7a1ecc5c69daeaed295.zip |
o Use PKGNAMEPREFIX
o Use MASTER_SITE_LOCAL
o Replace pre-install with do-install
PR: ports/99241
Submitted by: Andrew Turner <andrew+ports -at- fubar.geek.nz> (maintainer)
Diffstat (limited to 'devel/lua50-pty')
-rw-r--r-- | devel/lua50-pty/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/devel/lua50-pty/Makefile b/devel/lua50-pty/Makefile index 4758f2e58cbf..9ed7a77557a7 100644 --- a/devel/lua50-pty/Makefile +++ b/devel/lua50-pty/Makefile @@ -5,10 +5,12 @@ # $FreeBSD$ # -PORTNAME= lua50-pty +PORTNAME= pty PORTVERSION= 1.25 CATEGORIES= devel -MASTER_SITES= http://cvs.bsdinstaller.org/cgi-bin/cvsweb.cgi/installer/src/lib/lua/pty/ +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= philip +PKGNAMEPREFIX= lua50- DISTFILES= pty.lua?rev=1.2 pty.c?rev=1.25 MAINTAINER= andrew+ports@fubar.geek.nz @@ -19,7 +21,6 @@ BUILD_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua50 \ RUN_DEPENDS= ${LOCALBASE}/include/lua.h:${PORTSDIR}/lang/lua50 \ ${LOCALBASE}/share/lua/5.0/compat-5.1.lua:${PORTSDIR}/devel/lua50-compat51 -LIBDIR= ${PREFIX}/lib/lua/5.0 COMPAT_SRC= `(cd ${PORTSDIR}/devel/lua50-compat51 && make -V WRKSRC)` do-extract: @@ -32,8 +33,9 @@ do-extract: post-patch: @${REINPLACE_CMD} -e "s|%%COMPATDIR%%|${COMPAT_SRC}|" ${WRKSRC}/Makefile -pre-install: - ${MKDIR} ${LIBDIR} +do-install: + ${MKDIR} ${PREFIX}/lib/lua/5.0 + ${INSTALL_PROGRAM} ${WRKSRC}/lpty.so ${PREFIX}/lib/lua/5.0 ${MKDIR} ${PREFIX}/share/lua/5.0 ${INSTALL_DATA} ${WRKSRC}/pty.lua ${PREFIX}/share/lua/5.0 |