Changeset View
Changeset View
Standalone View
Standalone View
misc/unicode-emoji/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= unicode-emoji | PORTNAME= unicode-emoji | ||||
DISTVERSION= 5.0 | DISTVERSION= 5.0 | ||||
CATEGORIES= misc | CATEGORIES= misc | ||||
MASTER_SITES= http://www.unicode.org/Public/emoji/${DISTVERSION}/ | MASTER_SITES= http://www.unicode.org/Public/emoji/${DISTVERSION}/ | ||||
DISTFILES= emoji-data.txt emoji-sequences.txt emoji-test.txt emoji-variation-sequences.txt emoji-zwj-sequences.txt | DISTFILES= emoji-data.txt emoji-sequences.txt emoji-test.txt emoji-variation-sequences.txt emoji-zwj-sequences.txt | ||||
tcberner: I would add a DIST_SUBDIR=${PORTNAME}/${PORTVERSION} as the files themselves do not carry a… | |||||
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} | DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} | ||||
EXTRACT_ONLY= # nothing to extract | EXTRACT_ONLY= # nothing to extract | ||||
MAINTAINER= yuri@FreeBSD.org | MAINTAINER= yuri@FreeBSD.org | ||||
COMMENT= Unicode emoji data files | COMMENT= Unicode emoji data files | ||||
LICENSE= BSD | LICENSE= UNICODE_INC | ||||
LICENSE_NAME= UNICODE, INC. LICENSE AGREEMENT # http://www.unicode.org/copyright.html | |||||
LICENSE_PERMS= auto-accept | |||||
NO_BUILD= yes | NO_BUILD= yes | ||||
Done Inline Actionsmaybe EXTRACT_ONLY= # nothing todo ? tcberner: maybe `EXTRACT_ONLY= # nothing todo` ? | |||||
NO_ARCH= yes | NO_ARCH= yes | ||||
do-install: | do-install: | ||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/unicode/emoji | @${MKDIR} ${STAGEDIR}${PREFIX}/share/unicode/emoji | ||||
Done Inline Actions^-${DISTDIR}/${DISTSUBDIR} tcberner: ^-${DISTDIR}/${DISTSUBDIR} | |||||
.for f in ${DISTFILES} | .for f in ${DISTFILES} | ||||
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${f} ${STAGEDIR}${PREFIX}/share/unicode/emoji/$f | ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${f} ${STAGEDIR}${PREFIX}/share/unicode/emoji/$f | ||||
.endfor | .endfor | ||||
.for f in ${DISTFILES} | .for f in ${DISTFILES} | ||||
PLIST_FILES+= share/unicode/emoji/${f} | PLIST_FILES+= share/unicode/emoji/${f} | ||||
.endfor | .endfor | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
I would add a DIST_SUBDIR=${PORTNAME}/${PORTVERSION} as the files themselves do not carry a version.
https://www.freebsd.org/doc/en/books/porters-handbook/makefile-distfiles.html#makefile-dist_subdir