mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
- Clean up Makefile
- Respect PREFIX - Install pixmaps - Convert to pkg-plist PR: ports/171359 Submitted by: nemysis <nemysis at gmx dot ch> (maintainer) Approved by: makc (mentor)
This commit is contained in:
parent
649c0745ac
commit
f074320665
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=304400
@ -7,51 +7,37 @@
|
||||
|
||||
PORTNAME= connectagram
|
||||
PORTVERSION= 1.0.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://gottcode.org/${PORTNAME}/
|
||||
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
|
||||
EXTRACT_SUFX= -src.tar.bz2
|
||||
|
||||
MAINTAINER= nemysis@gmx.ch
|
||||
COMMENT= Word unscrambling game
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_QT_VER= 4
|
||||
QT_COMPONENTS= moc_build qmake_build rcc_build corelib gui iconengines imageformats network
|
||||
USE_QT4= moc_build qmake_build rcc_build gui network
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
PORTDATA= *
|
||||
PORTDOCS= ChangeLog
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
share/applications/${PORTNAME}.desktop \
|
||||
share/icons/hicolor/48x48/apps/${PORTNAME}.png
|
||||
|
||||
PLIST_DIRSTRY= share/icons/hicolor/48x48/apps \
|
||||
share/icons/hicolor/48x48 \
|
||||
share/icons/hicolor \
|
||||
share/icons \
|
||||
share/applications
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
||||
${QMAKE} ${QMAKEFLAGS}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
||||
${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
|
||||
|
||||
post-install:
|
||||
# Pixmaps
|
||||
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
|
||||
|
||||
# Documentation
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
. for f in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
. endfor
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
games/connectagram/pkg-plist
Normal file
11
games/connectagram/pkg-plist
Normal file
@ -0,0 +1,11 @@
|
||||
bin/connectagram
|
||||
share/applications/connectagram.desktop
|
||||
share/connectagram/words
|
||||
share/icons/hicolor/48x48/apps/connectagram.png
|
||||
share/pixmaps/connectagram.png
|
||||
@dirrmtry share/icons/hicolor/48x48/apps
|
||||
@dirrmtry share/icons/hicolor/48x48
|
||||
@dirrmtry share/icons/hicolor
|
||||
@dirrmtry share/icons
|
||||
@dirrm share/connectagram
|
||||
@dirrmtry share/applications
|
Loading…
Reference in New Issue
Block a user