diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2005-05-16 21:00:42 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2005-05-16 21:00:42 +0000 |
commit | 9df6faaca5f7e1adc572c2589ae481f935af021e (patch) | |
tree | f77418a460509c99df3694ecded59b994e965ef2 /graphics/png | |
parent | 822299be65579c1888e219c5e462e78b32863c30 (diff) | |
download | ports-9df6faaca5f7e1adc572c2589ae481f935af021e.tar.gz ports-9df6faaca5f7e1adc572c2589ae481f935af021e.zip |
Remove pkgconfig rmdir, now created by mtree
Don't test dirs existance, mkdir -p not return error
Submitted by: pav@FreeBSD.org
Notes
Notes:
svn path=/head/; revision=135409
Diffstat (limited to 'graphics/png')
-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 |