freebsd-ports/misc/p5-OSSP-uuid/Makefile
Tobias Kortkamp e79fe1aabc Fix WWW in parent/child ports
Many of the WWW are overwritten later which means the wrong value
is used. This did not happen before where the children were either
 a) just using the pkg-descr from the parents
 b) or had their own separate pkg-descr with custom WWW

Use WWW?= in parents when the child's WWW is different.

Children that use the same WWW as the parent can just inherit it,
i.e., the child WWW can be removed.

Approved by:	portmgr (implicit)
2022-09-10 19:41:16 +02:00

19 lines
443 B
Makefile

COMMENT= Perl bindings for ossp-uuid
BUILD_DEPENDS= ${LOCALBASE}/lib/libossp-uuid.a:misc/ossp-uuid
SLAVEPORT= perl
USES= perl5
USE_PERL5= configure
MASTERDIR= ${.CURDIR}/../../misc/ossp-uuid
WRKSRC= ${WRKDIR}/${DISTNAME}/perl
PLIST= ${.CURDIR}/pkg-plist
DESCR= ${.CURDIR}/pkg-descr
PATCHDIR= ${.CURDIR}/files
post-patch:
@${REINPLACE_CMD} -e \
's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile.PL
.include "${MASTERDIR}/Makefile"