diff options
author | ache <ache@FreeBSD.org> | 2005-05-17 05:00:42 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2005-05-17 05:00:42 +0800 |
commit | cc5f3cb28a35469736c0647b8555c07b8ff6c526 (patch) | |
tree | 34047fc1a81247ed59c7da6849b76865c4cabf87 /graphics | |
parent | 988a7114e891a13b30ae0ab02211a50995d6058b (diff) | |
download | freebsd-ports-gnome-cc5f3cb28a35469736c0647b8555c07b8ff6c526.tar.gz freebsd-ports-gnome-cc5f3cb28a35469736c0647b8555c07b8ff6c526.tar.zst freebsd-ports-gnome-cc5f3cb28a35469736c0647b8555c07b8ff6c526.zip |
Remove pkgconfig rmdir, now created by mtree
Don't test dirs existance, mkdir -p not return error
Submitted by: pav@FreeBSD.org
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/png/Makefile | 7 | ||||
-rw-r--r-- | graphics/png/pkg-plist | 1 |
2 files changed, 3 insertions, 5 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile index fccaea4260aa..26c2cffb866e 100644 --- a/graphics/png/Makefile +++ b/graphics/png/Makefile @@ -7,7 +7,7 @@ PORTNAME= png PORTVERSION= 1.2.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= lib${PORTNAME} @@ -40,9 +40,8 @@ post-extract: @${LN} -sf ${WRKSRC} ${WRKDIR}/libpng pre-su-install: - @[ -d ${PREFIX}/include/libpng ] || ${MKDIR} ${PREFIX}/include/libpng - @[ -d ${PREFIX}/libdata/pkgconfig ] || \ - ${MKDIR} ${PREFIX}/libdata/pkgconfig + @${MKDIR} ${PREFIX}/include/libpng + @${MKDIR} ${PREFIX}/libdata/pkgconfig post-install: ${SED} -e 's|@PREFIX@|${PREFIX}|' ${WRKSRC}/scripts/libpng.pc.in \ diff --git a/graphics/png/pkg-plist b/graphics/png/pkg-plist index 57f6df1964b7..2f8148c6beb9 100644 --- a/graphics/png/pkg-plist +++ b/graphics/png/pkg-plist @@ -12,4 +12,3 @@ lib/libpng.so lib/libpng.so.%%SHLIB_VER%% libdata/pkgconfig/libpng12.pc @dirrm include/libpng -@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true |