NEW PORT for librdkafka

Fernando Apesteguía fernando.apesteguia at
Tue Jul 7 13:19:27 UTC 2015

El 07/07/2015 15:14, "xoan carlos via freebsd-ports" <
freebsd-ports at> escribió:
> Hi im trying to create and submit a NEW PORT for librdkafka. It compiles
ok but it get installed in the stage directory
(/usr/ports/devel/librdkafka/work/stage/usr/local/lib)  and not in
/usr/local/lib. Any idea what additional step is needed to install it in
the right directory instead of the jail environment?
> the makefile is as simple as
> # $FreeBSD$
> PORTNAME=       librdkafkaPORTVERSION=    0.8.6CATEGORIES=     devel
> MAINTAINER=     youremail at example.comCOMMENT=        librdkafka
> USE_GITHUB=     yesGH_ACCOUNT=     edenhillGH_PROJECT=
librdkafkaGH_TAGNAME=     25d8791
> USES=           gmakeUSE_LDCONFIG=   yesGNU_CONFIGURE=  yes
> post-install:        @${STRIP_CMD}
${STAGEDIR}${PREFIX}/lib/lib*.so.include <>

It should install under the staging directory during development. After
that, the ports infrastructure will check that everything installed in the
appropriate paths.

I recommend to use poudriere and/or port test (part of porttools) to check
that everything is fine.


> _______________________________________________
> freebsd-ports at mailing list
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at"

More information about the freebsd-ports mailing list