Lines 1-36
Link Here
|
1 |
# New ports collection makefile for: imagesort |
1 |
# Created by: Mark Pulford <mark@kyne.com.au> |
2 |
# Date created: Apr 10, 2001 |
|
|
3 |
# Whom: Mark Pulford <mark@kyne.com.au> |
4 |
# |
5 |
# $FreeBSD: ports/graphics/imagesort/Makefile,v 1.19 2012/06/13 20:55:51 pav Exp $ |
2 |
# $FreeBSD: ports/graphics/imagesort/Makefile,v 1.19 2012/06/13 20:55:51 pav Exp $ |
6 |
# $MCom: ports/graphics/imagesort/Makefile,v 1.1 2006/10/04 13:18:57 ahze Exp $ |
|
|
7 |
|
3 |
|
8 |
PORTNAME= imagesort |
4 |
PORTNAME= imagesort |
9 |
PORTVERSION= 2.0 |
5 |
PORTVERSION= 2.0 |
10 |
PORTREVISION= 11 |
6 |
PORTREVISION= 11 |
11 |
CATEGORIES= graphics |
7 |
CATEGORIES= graphics |
12 |
MASTER_SITES= ${MASTER_SITE_SUNSITE} |
8 |
MASTER_SITES= SUNSITE/apps/graphics/viewers/X |
13 |
MASTER_SITE_SUBDIR= apps/graphics/viewers/X |
|
|
14 |
|
9 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= ports@FreeBSD.org |
16 |
COMMENT= A flexible X utility for managing many image files |
11 |
COMMENT= A flexible X utility for managing many image files |
17 |
|
12 |
|
18 |
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ |
13 |
LICENSE= GPLv2 |
19 |
png15:${PORTSDIR}/graphics/png \ |
|
|
20 |
gif.5:${PORTSDIR}/graphics/giflib |
21 |
|
14 |
|
22 |
BROKEN= does not compile |
15 |
LIB_DEPENDS= gif:${PORTSDIR}/graphics/giflib \ |
|
|
16 |
jpeg:${PORTSDIR}/graphics/jpeg \ |
17 |
png15:${PORTSDIR}/graphics/png |
18 |
|
19 |
OPTIONS_DEFINE= DOCS |
23 |
|
20 |
|
24 |
USE_XORG= x11 xt |
21 |
USE_XORG= x11 xt |
25 |
USE_GNOME= imlib |
22 |
USE_GNOME= imlib |
26 |
CFLAGS:= ${CFLAGS} -I${LOCALBASE}/include |
23 |
MAKE_JOBS_SAFE= yes |
|
|
24 |
|
25 |
PORTDOCS= README imagesortrc.sample |
26 |
PLIST_FILES= bin/imagesort |
27 |
|
28 |
.include <bsd.port.options.mk> |
29 |
|
30 |
post-patch: |
31 |
@${REINPLACE_CMD} -e \ |
32 |
'/^CC/s| =| ?=| ; \ |
33 |
/^LIBS/s| =.*| = `imlib-config --libs`| ; \ |
34 |
/^CFLAGS/s| =.*| += `imlib-config --cflags`|' ${WRKSRC}/Makefile |
35 |
@${REINPLACE_CMD} -e \ |
36 |
's|unsigned int argc|int argc| ; \ |
37 |
s|^#endif.*|#endif|' ${WRKSRC}/imagesort.c |
27 |
|
38 |
|
28 |
do-install: |
39 |
do-install: |
29 |
${INSTALL_PROGRAM} ${WRKSRC}/imagesort ${PREFIX}/bin |
40 |
${INSTALL_PROGRAM} ${WRKSRC}/imagesort ${PREFIX}/bin |
30 |
.if !defined(NOPORTDOCS) |
41 |
.if ${PORT_OPTIONS:MDOCS} |
31 |
${MKDIR} ${PREFIX}/share/doc/imagesort |
42 |
@${MKDIR} ${DOCSDIR} |
32 |
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/imagesort |
43 |
.for f in ${PORTDOCS} |
33 |
${INSTALL_DATA} ${WRKSRC}/imagesortrc.sample ${PREFIX}/share/doc/imagesort |
44 |
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} |
|
|
45 |
.endfor |
34 |
.endif |
46 |
.endif |
35 |
|
47 |
|
36 |
.include <bsd.port.mk> |
48 |
.include <bsd.port.mk> |