mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
119 lines
5.7 KiB
Makefile
119 lines
5.7 KiB
Makefile
# New ports collection makefile for: macopix
|
|
# Date created: 15 Apr 2003
|
|
# Whom: Shinya Esu <esu@yk.rim.or.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= macopix
|
|
PORTVERSION= 1.3.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://rosegray.sakura.ne.jp/macopix/
|
|
.if defined(WITH_GTK1)
|
|
PKGNAMESUFFIX= -gtk1
|
|
.endif
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${RESTRICTED_FILES}
|
|
|
|
MAINTAINER= esu@yk.rim.or.jp
|
|
COMMENT= Window sitter for X11
|
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
|
|
|
RESTRICTED= 'contains commercial character data'
|
|
RESTRICTED_FILES= \
|
|
macopix-mascot-comic_party-ja-1.00.tar.gz \
|
|
macopix-mascot-cosmos-ja-1.00.tar.gz \
|
|
macopix-mascot-kanon-ja-1.00.tar.gz \
|
|
macopix-mascot-mizuiro-ja-1.00.tar.gz \
|
|
macopix-mascot-one-ja-1.00.tar.gz \
|
|
macopix-mascot-pia2-ja-1.00.tar.gz \
|
|
macopix-mascot-triangle_heart-ja-1.00.tar.gz \
|
|
macopix-mascot-tsukihime-ja-1.00.tar.gz \
|
|
macopix-mascot-marimite-euc-ja-2.20.tar.gz \
|
|
macopix-mascot-HxB-euc-ja-0.10.tar.gz
|
|
|
|
USE_GETTEXT= yes
|
|
USE_X_PREFIX= yes
|
|
.if defined(WITH_GTK1)
|
|
USE_GNOME= gtk12 gdkpixbuf
|
|
.else
|
|
USE_GNOME= gtk20
|
|
.endif
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --program-transform-name=""
|
|
.if defined(WITH_GTK1)
|
|
CONFIGURE_ARGS+= --with-gtk1
|
|
.endif
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
MAN1= macopix.1
|
|
|
|
post-extract:
|
|
@${REINPLACE_CMD} -e 's/_MAIL } MailStatus/_MAIL } MailStatus2/' ${WRKSRC}/src/main.h
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${PREFIX}/bin/macopix
|
|
# install mascot file
|
|
# for file in ${RESTRICTED_FILES}; do \
|
|
# if ! (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\
|
|
# then \
|
|
# exit 1; \
|
|
# fi \
|
|
# done
|
|
${MKDIR} ${PREFIX}/share/macopix/
|
|
${MKDIR} ${PREFIX}/share/macopix/pixmap/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-comic_party-ja/*.png ${PREFIX}/share/macopix/pixmap/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-comic_party-ja/*.mcpx ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-comic_party-ja/comipa.menu ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-comic_party-ja/README.jp ${PREFIX}/share/macopix/README.comipa.jp
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-cosmos-ja/*.png ${PREFIX}/share/macopix/pixmap/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-cosmos-ja/*.mcpx ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-cosmos-ja/cosmos.menu ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-cosmos-ja/README.jp ${PREFIX}/share/macopix/README.cosmos.jp
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-kanon-ja/*.png ${PREFIX}/share/macopix/pixmap/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-kanon-ja/*.mcpx ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-kanon-ja/kanon.menu ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-kanon-ja/README.jp ${PREFIX}/share/macopix/README.kanon.jp
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-mizuiro-ja/*.png ${PREFIX}/share/macopix/pixmap/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-mizuiro-ja/*.mcpx ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-mizuiro-ja/mizuiro.menu ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-mizuiro-ja/README.jp ${PREFIX}/share/macopix/README.mizuiro.jp
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-one-ja/*.png ${PREFIX}/share/macopix/pixmap/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-one-ja/*.mcpx ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-one-ja/one.menu ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-one-ja/README.jp ${PREFIX}/share/macopix/README.one.jp
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-pia2-ja/*.png ${PREFIX}/share/macopix/pixmap/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-pia2-ja/*.mcpx ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-pia2-ja/pia2.menu ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-pia2-ja/README.jp ${PREFIX}/share/macopix/README.pia2.jp
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-triangle_heart-ja/*.png ${PREFIX}/share/macopix/pixmap/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-triangle_heart-ja/*.mcpx ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-triangle_heart-ja/trh.menu ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-triangle_heart-ja/README.jp ${PREFIX}/share/macopix/README.trh.jp
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-tsukihime-ja/*.png ${PREFIX}/share/macopix/pixmap/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-tsukihime-ja/*.mcpx ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-tsukihime-ja/tsuki.menu ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-tsukihime-ja/README.jp ${PREFIX}/share/macopix/README.tsuki.jp
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-marimite-euc-ja-2.20/*.png ${PREFIX}/share/macopix/pixmap/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-marimite-euc-ja-2.20/*.mcpx ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-marimite-euc-ja-2.20/marimite.menu ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-marimite-euc-ja-2.20/README.jp ${PREFIX}/share/macopix/README.marimite.jp
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-HxB-euc-ja-0.10/*.png ${PREFIX}/share/macopix/pixmap/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-HxB-euc-ja-0.10/*.mcpx ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-HxB-euc-ja-0.10/HxB.menu ${PREFIX}/share/macopix/
|
|
${INSTALL_DATA} ${WRKDIR}/macopix-mascot-HxB-euc-ja-0.10/README.jp ${PREFIX}/share/macopix/README.HxB.jp
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/macopix
|
|
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/macopix
|
|
${INSTALL_MAN} ${WRKSRC}/README.jp ${PREFIX}/share/doc/macopix
|
|
${INSTALL_MAN} ${WRKSRC}/NKR.README.jp ${PREFIX}/share/doc/macopix
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|