diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-12-13 16:59:09 +0800 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-12-13 16:59:09 +0800 |
commit | fb908379d348b26b238efb07851e06da9c3fb10b (patch) | |
tree | 3f2f3613c767bc2ed88bc6935db4291e64993201 /textproc/tinyxml | |
parent | 641f62cf838f0a1e772eb922c0260015f4ec95c4 (diff) | |
download | freebsd-ports-gnome-fb908379d348b26b238efb07851e06da9c3fb10b.tar.gz freebsd-ports-gnome-fb908379d348b26b238efb07851e06da9c3fb10b.tar.zst freebsd-ports-gnome-fb908379d348b26b238efb07851e06da9c3fb10b.zip |
Deal with the NOPROFILE case too.
Diffstat (limited to 'textproc/tinyxml')
-rw-r--r-- | textproc/tinyxml/Makefile | 6 | ||||
-rw-r--r-- | textproc/tinyxml/pkg-plist | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/textproc/tinyxml/Makefile b/textproc/tinyxml/Makefile index 83d20e18794e..f8eb22f4238d 100644 --- a/textproc/tinyxml/Makefile +++ b/textproc/tinyxml/Makefile @@ -22,6 +22,12 @@ INSTALLS_SHLIB= YES SHLIB_MAJOR= 1 PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" +.if defined(NOPROFILE) +PLIST_SUB+= PROFILE="@comment " +.else +PLIST_SUB+= PROFILE="" +.endif + post-patch: ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev @${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \ diff --git a/textproc/tinyxml/pkg-plist b/textproc/tinyxml/pkg-plist index ec4f70b7e17b..cf499c47f790 100644 --- a/textproc/tinyxml/pkg-plist +++ b/textproc/tinyxml/pkg-plist @@ -3,7 +3,7 @@ include/tinyxml.h lib/libtinyxml.a lib/libtinyxml.so lib/libtinyxml.so.%%SHLIB_MAJOR%% -lib/libtinyxml_p.a +%%PROFILE%%lib/libtinyxml_p.a %%PORTDOCS%%%%DOCSDIR%%/annotated.html %%PORTDOCS%%%%DOCSDIR%%/classTiXmlAttribute-members.html %%PORTDOCS%%%%DOCSDIR%%/classTiXmlAttribute.html |