Automatically generate symlinks for virtual categories.
Ion-Mihai Tetcu
itetcu at FreeBSD.org
Fri Jun 5 22:34:58 UTC 2009
On Fri, 05 Jun 2009 18:12:19 -0400
Eitan Adler <eitanadlerlist at gmail.com> wrote:
> # New ports collection makefile for: symlink
> # Date created: Fri Jun 05 2009
> # Whom: Eitan Adler <EitanAdlerList at gmail.com>
> #
> # $FreeBSD$
> #
>
> PORTNAME= symlink
> PORTVERSION= 3
> CATEGORIES= ports-mgmt
> MASTER_SITES= http://isis.poly.edu/~eitan/files/
> DISTNAME= auto-symlink-virtual-${PORTVERSION}.sh
> EXTRACT_SUFX=
>
> MAINTAINER= EitanAdlerList at gmail.com
> COMMENT= Automatically generate symlinks for virtual categories
>
> NO_BUILD= yes
- NO_EXTRACT= yes # NO_EXTRACT is not allowed anymore
# since we need to at least create ${WRKDIR}.
+ EXTRACT_ONLY= # nada
But either you have the script in ${FILESDIR} or you have to crate
WRKDIR.
> EXTRACT_CMD= true
>
> PLIST_FILES= bin/${PORTNAME}
>
> do-install:
> ${INSTALL_SCRIPT} ${DISTDIR}/${DISTNAME}
> ${PREFIX}/bin/${PORTNAME}
>
> .include <bsd.port.mk>
Did you test what happens with all this idea when a port has a
.include "${CURDIR}......"
?
--
IOnut - Un^d^dregistered ;) FreeBSD "user"
"Intellectual Property" is nowhere near as valuable as "Intellect"
FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090605/6b780adf/signature.pgp
More information about the freebsd-ports
mailing list