Lines 6-11
Link Here
|
6 |
|
6 |
|
7 |
PORTNAME= metapixel |
7 |
PORTNAME= metapixel |
8 |
PORTVERSION= 0.9 |
8 |
PORTVERSION= 0.9 |
|
|
9 |
PORTREVISION= 1 |
9 |
CATEGORIES= graphics |
10 |
CATEGORIES= graphics |
10 |
MASTER_SITES= http://www.complang.tuwien.ac.at/~schani/metapixel/ \ |
11 |
MASTER_SITES= http://www.complang.tuwien.ac.at/~schani/metapixel/ \ |
11 |
http://dragon.roe.ch/mirrors/distfiles/metapixel/ |
12 |
http://dragon.roe.ch/mirrors/distfiles/metapixel/ |
Lines 22-27
Link Here
|
22 |
MAKE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I." \ |
23 |
MAKE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I." \ |
23 |
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" |
24 |
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" |
24 |
|
25 |
|
|
|
26 |
PLIST_FILES= bin/metapixel bin/metapixel-convert bin/metapixel-imagesize \ |
27 |
bin/metapixel-prepare bin/metapixel-sizesort bin/metapixel-zoom |
28 |
PORTDOCS= README |
29 |
|
25 |
post-patch: |
30 |
post-patch: |
26 |
@${RM} ${WRKSRC}/getopt.h |
31 |
@${RM} ${WRKSRC}/getopt.h |
27 |
@${MV} ${WRKSRC}/sizesort ${WRKSRC}/metapixel-sizesort |
32 |
@${MV} ${WRKSRC}/sizesort ${WRKSRC}/metapixel-sizesort |
Lines 35-39
Link Here
|
35 |
${INSTALL_SCRIPT} ${WRKSRC}/metapixel-prepare ${PREFIX}/bin |
40 |
${INSTALL_SCRIPT} ${WRKSRC}/metapixel-prepare ${PREFIX}/bin |
36 |
${INSTALL_SCRIPT} ${WRKSRC}/metapixel-sizesort ${PREFIX}/bin |
41 |
${INSTALL_SCRIPT} ${WRKSRC}/metapixel-sizesort ${PREFIX}/bin |
37 |
${INSTALL_PROGRAM} ${WRKSRC}/metapixel-zoom ${PREFIX}/bin |
42 |
${INSTALL_PROGRAM} ${WRKSRC}/metapixel-zoom ${PREFIX}/bin |
|
|
43 |
.if !defined(NOPORTDOCS) |
44 |
${MKDIR} ${DOCSDIR} |
45 |
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} |
46 |
.endif |
38 |
|
47 |
|
39 |
.include <bsd.port.mk> |
48 |
.include <bsd.port.mk> |