diff --git a/graphics/libdivxencore/Makefile b/graphics/libdivxencore/Makefile index 03e314133dc5..00c06d53bb62 100644 --- a/graphics/libdivxencore/Makefile +++ b/graphics/libdivxencore/Makefile @@ -24,6 +24,12 @@ WRKSRC= ${WRKDIR}/encore/src LIB_VERSION= 0 +.ifndef(NOPROFILE) +PLIST_SUB= NOPROFILE='' +.else +PLIST_SUB= NOPROFILE='@comment ' +.endif + post-extract: @${CP} ${FILESDIR}/Makefile ${WRKSRC} diff --git a/graphics/libdivxencore/pkg-plist b/graphics/libdivxencore/pkg-plist index da5ae3c561f3..af46d29caa35 100644 --- a/graphics/libdivxencore/pkg-plist +++ b/graphics/libdivxencore/pkg-plist @@ -2,5 +2,5 @@ include/divx/encore.h lib/libdivxencore.a lib/libdivxencore.so lib/libdivxencore.so.%%LIB_VERSION%% -lib/libdivxencore_p.a +%%NOPROFILE%%lib/libdivxencore_p.a @unexec rmdir %D/include/divx 2>/dev/null || true diff --git a/multimedia/libdivxencore/Makefile b/multimedia/libdivxencore/Makefile index 03e314133dc5..00c06d53bb62 100644 --- a/multimedia/libdivxencore/Makefile +++ b/multimedia/libdivxencore/Makefile @@ -24,6 +24,12 @@ WRKSRC= ${WRKDIR}/encore/src LIB_VERSION= 0 +.ifndef(NOPROFILE) +PLIST_SUB= NOPROFILE='' +.else +PLIST_SUB= NOPROFILE='@comment ' +.endif + post-extract: @${CP} ${FILESDIR}/Makefile ${WRKSRC} diff --git a/multimedia/libdivxencore/pkg-plist b/multimedia/libdivxencore/pkg-plist index da5ae3c561f3..af46d29caa35 100644 --- a/multimedia/libdivxencore/pkg-plist +++ b/multimedia/libdivxencore/pkg-plist @@ -2,5 +2,5 @@ include/divx/encore.h lib/libdivxencore.a lib/libdivxencore.so lib/libdivxencore.so.%%LIB_VERSION%% -lib/libdivxencore_p.a +%%NOPROFILE%%lib/libdivxencore_p.a @unexec rmdir %D/include/divx 2>/dev/null || true