Whups, the original prefix path should not be embedded in the package.

Fix, by creating links after package install, relative to ${PREFIX}.
This commit is contained in:
Bruce M Simpson 2007-10-08 12:01:03 +00:00
parent b2096595f0
commit 5f29631650
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201089

View File

@ -7,7 +7,7 @@
PORTNAME= k8048
PORTVERSION= 0.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://dev.kewl.org/k8048/
DISTNAME= $(PORTNAME)
@ -28,8 +28,10 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/${PORTNAME} \
${PREFIX}/bin/${PORTNAME}
post-install:
.for i in ${BIN_SYMLINKS}
${LN} -s ${PREFIX}/bin/${PORTNAME} ${PREFIX}/${i}
cd ${PREFIX} && ${LN} -s ${PORTNAME} ${i}
.endfor
.include <bsd.port.mk>