diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-10-10 22:36:04 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-10-10 22:36:04 +0800 |
commit | 98184d275308708c4ec066df742f96883d0d4db2 (patch) | |
tree | 46c1a4e7772e41704a23677ffb9c6935fd22214f /graphics | |
parent | c446a7651ede792e2cbe2ccfa9a460aaf1363f14 (diff) | |
download | freebsd-ports-gnome-98184d275308708c4ec066df742f96883d0d4db2.tar.gz freebsd-ports-gnome-98184d275308708c4ec066df742f96883d0d4db2.tar.zst freebsd-ports-gnome-98184d275308708c4ec066df742f96883d0d4db2.zip |
- Convert to new LIB_DEPENDS format
- Support STAGEDIR
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/dcraw/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/graphics/dcraw/Makefile b/graphics/dcraw/Makefile index 0c406dce0733..229d1f3f4e5a 100644 --- a/graphics/dcraw/Makefile +++ b/graphics/dcraw/Makefile @@ -9,24 +9,23 @@ MASTER_SITES= LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Decoder for RAW files from digital cameras -LIB_DEPENDS= jasper:${PORTSDIR}/graphics/jasper \ - jpeg:${PORTSDIR}/graphics/jpeg \ - lcms:${PORTSDIR}/graphics/lcms +LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper \ + libjpeg.so:${PORTSDIR}/graphics/jpeg \ + liblcms.so:${PORTSDIR}/graphics/lcms CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/jasper LDFLAGS+= -L${LOCALBASE}/lib -lm -ljasper -ljpeg -llcms USE_XZ= yes -MAN1= ${PORTNAME}.1 -PLIST_FILES= bin/${PORTNAME} +PLIST_FILES= bin/${PORTNAME} \ + man/man1/${PORTNAME}.1.gz -NO_STAGE= yes do-build: - cd ${WRKSRC}/ && ${CC} -o ${PORTNAME} ${CFLAGS} ${PORTNAME}.c ${LDFLAGS} + @cd ${WRKSRC}/ && ${CC} -o ${PORTNAME} ${CFLAGS} ${PORTNAME}.c ${LDFLAGS} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/ # maintainer section: |